![]() |
R-Type
2
Doom but in better
|
Namespace containing time-related utilities for the game. More...
Variables | |
float | deltaTime = 0 |
The time difference between the current frame and the last frame. | |
Namespace containing time-related utilities for the game.
The Time
namespace provides access to time-related functionality, including tracking the time between frames or updates. It contains the deltaTime
variable, which stores the time elapsed between two frames.
float Time::deltaTime = 0 |
The time difference between the current frame and the last frame.
deltaTime
represents the time elapsed since the last frame was rendered or processed. This value is used to ensure smooth and consistent gameplay, independent of the frame rate.