diff options
| author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 13:47:44 +0100 | 
|---|---|---|
| committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-10 13:47:44 +0100 | 
| commit | 3cf434961be522dc94e91e52361af15e370406c0 (patch) | |
| tree | 1a28bd625f26f9b598f6a309ba44f7664a4e9f4c /src/crepe/manager/LoopTimerManager.h | |
| parent | fb3edf33aedc1b0c37c3f74a5eaac05bf48f491a (diff) | |
feedback changes
Diffstat (limited to 'src/crepe/manager/LoopTimerManager.h')
| -rw-r--r-- | src/crepe/manager/LoopTimerManager.h | 9 | 
1 files changed, 5 insertions, 4 deletions
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  |