Simple Game Graphics Library
1.0
|
Functions | |
float | graphics::getDeltaTime () |
float | graphics::getGlobalTime () |
float graphics::getDeltaTime | ( | ) |
Returns the time passed from the previous engine state update.
The function reports the time passed in miliseconds between the current internal state update and the previous one. If a user-defined update callback is provided, the time also corresponds to the interval between successive callback invocations.
float graphics::getGlobalTime | ( | ) |
Reports the absolute application execution time.
The time starts counting from the call to create the window.