#include <GameTime.h>
Static Public Member Functions | |
static GLuint | getTimeDelta (GLvoid) |
static GLuint | getTimeDeltaConst (GLvoid) |
GLuint ES3D::GameTime::getTimeDelta | ( | GLvoid | ) | [static] |
Returns the time elapsed since last frame. This method has to be called only once per frame.
GLuint ES3D::GameTime::getTimeDeltaConst | ( | GLvoid | ) | [static] |
Returns the time elapsed since last frame. This method can be called as much as wanted per frame and always returns the same elapsed time. Please note that getTimeDelta() has to be called before to retrieve valid data.