diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 18:40:58 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-12 18:40:58 +0100 |
commit | 229a95edaa03a8a4f0358280acb6b5ffef581ced (patch) | |
tree | 66145ff1499d6966ae930261727a391b240d1a4e /src/crepe/manager/LoopTimerManager.cpp | |
parent | bef438ff7790acbe2dc376097e1782e60356bf45 (diff) | |
parent | ab1423f48d82ba9b0619ec107639a80773edbfc2 (diff) |
Merge branch 'jaro/physics-system-improvement' of github.com:lonkaars/crepe into jaro/particle-system-improvement
Diffstat (limited to 'src/crepe/manager/LoopTimerManager.cpp')
-rw-r--r-- | src/crepe/manager/LoopTimerManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/manager/LoopTimerManager.cpp b/src/crepe/manager/LoopTimerManager.cpp index 4a3df0a..9819632 100644 --- a/src/crepe/manager/LoopTimerManager.cpp +++ b/src/crepe/manager/LoopTimerManager.cpp @@ -80,8 +80,8 @@ duration_t LoopTimerManager::get_lag() const { return this->elapsed_time - this->elapsed_fixed_time; } -float LoopTimerManager::get_scaled_fixed_delta_time() const { - return (this->fixed_delta_time * this->time_scale).count(); +duration_t LoopTimerManager::get_scaled_fixed_delta_time() const { + return this->fixed_delta_time * this->time_scale; } void LoopTimerManager::set_fixed_delta_time(float seconds) { |