From 2c698f3b6d61fe7a494c9e88620e427b5059cee2 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Sun, 8 Dec 2024 20:05:51 +0100 Subject: make format --- src/crepe/manager/LoopTimerManager.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/crepe/manager/LoopTimerManager.cpp') diff --git a/src/crepe/manager/LoopTimerManager.cpp b/src/crepe/manager/LoopTimerManager.cpp index 5d4545f..9d9897d 100644 --- a/src/crepe/manager/LoopTimerManager.cpp +++ b/src/crepe/manager/LoopTimerManager.cpp @@ -82,10 +82,9 @@ void LoopTimerManager::enforce_frame_rate() { double LoopTimerManager::get_lag() const { return (this->elapsed_time - this->elapsed_fixed_time).count(); } -double LoopTimerManager::get_scaled_fixed_delta_time() const{ +double LoopTimerManager::get_scaled_fixed_delta_time() const { return this->fixed_delta_time.count() * this->time_scale; } void LoopTimerManager::set_fixed_delta_time(int seconds) { - this->fixed_delta_time = std::chrono::duration(seconds); + this->fixed_delta_time = std::chrono::duration(seconds); } - -- cgit v1.2.3