|
YourGameLib
|

Go to the source code of this file.
Namespaces | |
| namespace | yourgame |
| namespace | yourgame::time |
| time measure related functions | |
Functions | |
| double | yourgame::time::getClockPeriod () |
| returns time clock period [seconds] (clock precision) | |
| double | yourgame::time::getDelta () |
| returns time delta [seconds] since last cycle | |
| double | yourgame::time::getTime () |
| returns (monotonic) time duration [seconds] since init | |
| void | yourgame::time::reset () |
| resets the timing so time retrieved by getTime() starts at 0 again | |