Model that has animations is now visible when it does not play an animation (T-pose)

This commit is contained in:
viktorljung
2016-02-01 10:24:50 +01:00
parent c9b982bc89
commit 51075aefc8
7 changed files with 72 additions and 52 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ public:
int GetBoneID(std::string name);
const Animation* GetAnimation(std::string name);
std::vector<glm::mat4> GetFrameBones(const Animation& animation, double time, bool noRootMotion = false);
std::vector<glm::mat4> GetFrameBones(const Animation* animation, double time, bool noRootMotion = false);
void AccumulateBoneTransforms(bool noRootMotion, const Animation::Keyframe& currentFrame, const Animation::Keyframe& nextFrame, float progress, std::map<int, glm::mat4>& boneMatrices, const Bone* bone, glm::mat4 parentMatrix);
void PrintSkeleton();
void PrintSkeleton(const Bone* parent, int depthCount);