Mana
|
Functions | |
uint32_t | absoluteTimeMs () |
The time in milliseconds since the program started (wraps around after ~49 days). | |
unsigned | deltaTimeMs () |
The time in milliseconds since the last frame, but never more than 1000. | |
float | deltaTime () |
The time in seconds since the last frame, but never more than 1. | |
void | beginFrame () |
Called at the start of each frame, updates the above variables. | |
uint32_t Time::absoluteTimeMs | ( | ) |
void Time::beginFrame | ( | ) |
float Time::deltaTime | ( | ) |