Simple Game Graphics Library 1.1
|
Functions | |
float | getDeltaTime () |
float | getGlobalTime () |
float 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 getGlobalTime | ( | ) |
Reports the absolute application execution time.
The time starts counting from the call to create the window.