Updated experimental demo to draw hellknight AABB

Former-commit-id: b28dd7bdde909088ff2671def77cef9809894b08
This commit is contained in:
Lynix 2012-12-03 16:25:23 +01:00
parent 551ca4fc92
commit 635616459a
1 changed files with 2 additions and 2 deletions

View File

@ -501,9 +501,9 @@ int main()
if (drawAabb)
{
/* NzDebugDrawer::SetDepthTest(true);
NzDebugDrawer::SetDepthTest(true);
NzDebugDrawer::SetPrimaryColor(NzColor::Red);
NzDebugDrawer::Draw(hellknight.mesh.GetAABB());*/
NzDebugDrawer::Draw(hellknight.GetAABB());
NzAxisAlignedBox aabb(drfreak.GetMesh()->GetAABB());
aabb.Transform(drfreak.GetTransformMatrix());