Fixed mesh animating modifying template skeleton

Former-commit-id: d70bd2ed7c8a38f879641a4b22be4876f6825edb
This commit is contained in:
Lynix
2012-12-09 01:45:34 +01:00
parent b652bada13
commit 37d6b71036
4 changed files with 19 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ class NAZARA_API NzMesh : public NzResource, NzResourceListener
bool AddSubMesh(NzSubMesh* subMesh);
bool AddSubMesh(const NzString& identifier, NzSubMesh* subMesh);
void Animate(const NzAnimation* animation, unsigned int frameA, unsigned int frameB, float interpolation) const;
void Animate(const NzAnimation* animation, unsigned int frameA, unsigned int frameB, float interpolation, NzSkeleton* skeleton) const;
bool CreateKeyframe();
bool CreateSkeletal(unsigned int jointCount);