From 3cf434961be522dc94e91e52361af15e370406c0 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Tue, 10 Dec 2024 13:47:44 +0100 Subject: feedback changes --- src/crepe/manager/LoopTimerManager.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/crepe/manager/LoopTimerManager.h') diff --git a/src/crepe/manager/LoopTimerManager.h b/src/crepe/manager/LoopTimerManager.h index 46a0dcb..9336520 100644 --- a/src/crepe/manager/LoopTimerManager.h +++ b/src/crepe/manager/LoopTimerManager.h @@ -139,12 +139,13 @@ private: void update(); /** - * \brief Advance the game loop by a fixed update interval. + * \brief Progress the elapsed fixed time by the fixed delta time interval. * - * This method progresses the game state by a consistent, fixed time step, allowing for - * stable updates independent of frame rate fluctuations. + * This method advances the game's fixed update loop by adding the fixed_delta_time + * to elapsed_fixed_time, ensuring the fixed update catches up with the elapsed time. */ - void advance_fixed_update(); + void advance_fixed_elapsed_time(); + private: //! Target frames per second -- cgit v1.2.3