Added DebugDrawer::Draw(position, size)
Draws a "size"-sized box centered on "position" Former-commit-id: 9385762a4118fe76364faa5819fd9a94efceefbf
This commit is contained in:
@@ -363,6 +363,11 @@ void NzDebugDrawer::Draw(const NzSkeleton* skeleton)
|
||||
}
|
||||
}
|
||||
|
||||
void NzDebugDrawer::Draw(const NzVector3f& position, float size)
|
||||
{
|
||||
Draw(NzBoxf(position.x - size*0.5f, position.y - size*0.5f, position.z - size*0.5f, size, size, size));
|
||||
}
|
||||
|
||||
void NzDebugDrawer::DrawBinormals(const NzStaticMesh* subMesh)
|
||||
{
|
||||
if (!Initialize())
|
||||
|
||||
Reference in New Issue
Block a user