Improved Node interface
Former-commit-id: cbc204748d8cf30771743f26270324dee6ada242
This commit is contained in:
@@ -182,10 +182,10 @@ void NzDebugDrawer::Draw(const NzSkeleton* skeleton)
|
||||
const NzNode* parent = joint->GetParent();
|
||||
if (parent)
|
||||
{
|
||||
vertex->position = joint->GetDerivedTranslation();
|
||||
vertex->position = joint->GetPosition();
|
||||
vertex++;
|
||||
|
||||
vertex->position = parent->GetDerivedTranslation();
|
||||
vertex->position = parent->GetPosition();
|
||||
vertex++;
|
||||
|
||||
vertexCount += 2;
|
||||
|
||||
Reference in New Issue
Block a user