set anim speed

This commit is contained in:
2026-03-11 23:25:46 +03:00
parent 7ba7f3ac39
commit f89f3c8523
7 changed files with 31 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ public:
std::vector<glm::mat4> m_finalMatrices;
AnimationId_t m_animation;
float m_time;
float m_speed;
bool m_looped;
public:
@@ -60,6 +61,8 @@ public:
void PlayAnimation(AnimationId_t id, bool looped);
void StopAnimation();
void SetAnimationSpeed(float speed);
AnimationId_t GetCurrentAnimation();
float GetCurrentTime();