TEMP fix to get anim timing correct

This commit is contained in:
Xiao Qi 2023-01-18 04:05:36 +08:00
parent 6872bae151
commit 1b97cd72bd
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ namespace SHADE
/*---------------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------------*/
const std::vector<Channel>& GetChannels() const noexcept { return channels; } const std::vector<Channel>& GetChannels() const noexcept { return channels; }
int GetTicksPerSecond() const noexcept { return ticksPerSecond; } int GetTicksPerSecond() const noexcept { return ticksPerSecond; }
float GetTotalTime() const noexcept { return totalTime; } float GetTotalTime() const noexcept { return totalTime/(float)ticksPerSecond; }
private: private:
/*---------------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------------*/