Updated experimental demo to draw hellknight AABB
Former-commit-id: b28dd7bdde909088ff2671def77cef9809894b08
This commit is contained in:
@@ -501,9 +501,9 @@ int main()
|
|||||||
|
|
||||||
if (drawAabb)
|
if (drawAabb)
|
||||||
{
|
{
|
||||||
/* NzDebugDrawer::SetDepthTest(true);
|
NzDebugDrawer::SetDepthTest(true);
|
||||||
NzDebugDrawer::SetPrimaryColor(NzColor::Red);
|
NzDebugDrawer::SetPrimaryColor(NzColor::Red);
|
||||||
NzDebugDrawer::Draw(hellknight.mesh.GetAABB());*/
|
NzDebugDrawer::Draw(hellknight.GetAABB());
|
||||||
|
|
||||||
NzAxisAlignedBox aabb(drfreak.GetMesh()->GetAABB());
|
NzAxisAlignedBox aabb(drfreak.GetMesh()->GetAABB());
|
||||||
aabb.Transform(drfreak.GetTransformMatrix());
|
aabb.Transform(drfreak.GetTransformMatrix());
|
||||||
|
|||||||
Reference in New Issue
Block a user