use correct bone transform for animation + setter

This commit is contained in:
Nick Fisher
2023-11-18 13:33:54 +08:00
parent 0c698d16e3
commit 28bbc42e14
2 changed files with 59 additions and 8 deletions

View File

@@ -114,7 +114,11 @@ namespace polyvox
inline void updateTransform(SceneAsset &asset);
void updateBoneTransformFromAnimationBuffer(const BoneAnimation& animation, int frameNumber);
void updateBoneTransformFromAnimationBuffer(
const BoneAnimation& animation,
int frameNumber,
FilamentAsset *asset
);
};
}