YourGameLib
|
Namespaces | |
namespace | yourgame_internal |
namespace | yourgame_internal::time |
namespace | yourgame |
namespace | yourgame::time |
time measure related functions | |
Functions | |
void | yourgame_internal::time::init () |
void | yourgame_internal::time::tick () |
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 | |