|
cat3d
A tiny OpenGL 3D engine library written in and for C++.
|
Class to measure the passage of time. More...
#include <clock.hpp>
Public Member Functions | |
| clock () | |
| time | restart () |
| Restart the clock. More... | |
| time | elapsed () const |
| Get the elapsed time since the last restart() More... | |
Class to measure the passage of time.
| cat3d::util::clock::clock | ( | ) |
| time cat3d::util::clock::elapsed | ( | ) | const |
Get the elapsed time since the last restart()
| time cat3d::util::clock::restart | ( | ) |
Restart the clock.