diff --git a/SHADE_Engine/src/Animation/SHAnimationClip.h b/SHADE_Engine/src/Animation/SHAnimationClip.h index 8a10ce3a..58b5681a 100644 --- a/SHADE_Engine/src/Animation/SHAnimationClip.h +++ b/SHADE_Engine/src/Animation/SHAnimationClip.h @@ -67,7 +67,7 @@ namespace SHADE /*---------------------------------------------------------------------------------*/ const std::vector& GetChannels() const noexcept { return channels; } int GetTicksPerSecond() const noexcept { return ticksPerSecond; } - float GetTotalTime() const noexcept { return totalTime; } + float GetTotalTime() const noexcept { return totalTime/(float)ticksPerSecond; } private: /*---------------------------------------------------------------------------------*/