Core/Node: Refactor interface

- Removed overloads taking multiple scalars
- Removed CoordSys parameter (functions exists in two sets, local and global)
This commit is contained in:
SirLynix
2024-02-18 22:16:54 +01:00
committed by Jérôme Leclercq
parent 194dba5002
commit 63c526cecc
23 changed files with 444 additions and 462 deletions

View File

@@ -100,7 +100,7 @@ namespace Nz
const Joint* joint = skeleton.GetJoint(i);
const Node* parent = joint->GetParent();
if (parent)
DrawLine(joint->GetPosition(CoordSys::Global), parent->GetPosition(CoordSys::Global), color);
DrawLine(joint->GetGlobalPosition(), parent->GetGlobalPosition(), color);
}
}