Skip to content

Commit

Permalink
fmod
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphal committed Dec 16, 2024
1 parent fe38947 commit cd4c52e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/animationManager.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ void animationManager::Tick()
if (this->CurrentTime < this->TimeRange[0] || this->CurrentTime > this->TimeRange[1])
{
this->CurrentTime = this->TimeRange[0] +
std::remainder(this->CurrentTime - this->TimeRange[0], this->TimeRange[1] - this->TimeRange[0]);
std::fmod(this->CurrentTime - this->TimeRange[0], this->TimeRange[1] - this->TimeRange[0]);
}

if (this->LoadAtTime(this->CurrentTime))
Expand Down

0 comments on commit cd4c52e

Please sign in to comment.