augmented exported and other class changes

This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent 11e22b1c10
commit a09a4f548a
4 changed files with 22 additions and 13 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ namespace vb01{
Vector3 Bone::getModelSpacePos(){
Vector3 modelSpacePos = Vector3::VEC_ZERO;
Bone *rootBone = skeleton->getRootBone();
vector<Node*> boneHierarchy = getAncestors();
vector<Node*> boneHierarchy = getAncestors(rootBone);
while(!boneHierarchy.empty()){
int id = boneHierarchy.size() - 1;