aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/manager/LoopTimerManager.cpp
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:25:50 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 17:25:50 +0100
commitfa2d728d847e5aa29859c8cf72d8ee8df363373e (patch)
treeb92dc1d61b97dc2cde19d7a98e1e37d88ce031f5 /src/crepe/manager/LoopTimerManager.cpp
parent61e13d06b1062cb0c41db3ca59bb09c0aff1dd95 (diff)
added doxygens
Diffstat (limited to 'src/crepe/manager/LoopTimerManager.cpp')
-rw-r--r--src/crepe/manager/LoopTimerManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/manager/LoopTimerManager.cpp b/src/crepe/manager/LoopTimerManager.cpp
index 9c77785..597b214 100644
--- a/src/crepe/manager/LoopTimerManager.cpp
+++ b/src/crepe/manager/LoopTimerManager.cpp
@@ -81,7 +81,7 @@ double LoopTimerManager::get_lag() const {
double LoopTimerManager::get_fixed_delta_time() const {
return this->fixed_delta_time.count() * this->time_scale;
}
-void LoopTimerManager::set_fixed_delta_time(int seconds) {
+void LoopTimerManager::set_fixed_delta_time(double seconds) {
this->fixed_delta_time = std::chrono::duration<double>(seconds);
}