animation update

updated how animations are handled from assimp
gltf timing now correct
This commit is contained in:
marauder2k7 2024-12-10 11:54:13 +00:00
parent 5f1c2a63e5
commit 28fcb8d68b
6 changed files with 161 additions and 160 deletions

View file

@ -27,11 +27,14 @@ class AssimpAppSequence : public AppSequence
F32 seqEnd;
F32 mTimeMultiplier; // The factor needed to convert the sequence data timestamp to seconds
void determineTimeMultiplier(aiAnimation* a);
void calculateSequenceEnd(aiAnimation* a);
public:
AssimpAppSequence(aiAnimation *a);
~AssimpAppSequence();
aiAnimation *mAnim;
void setActive(bool active) override;