GLFW
3.0.2
A multi-platform library for OpenGL, window and input
|
Functions | |
double | glfwGetTime (void) |
Returns the value of the GLFW timer. More... | |
void | glfwSetTime (double time) |
Sets the GLFW timer. More... | |
double glfwGetTime | ( | void | ) |
This function returns the value of the GLFW timer. Unless the timer has been set using glfwSetTime, the timer measures time elapsed since GLFW was initialized.
void glfwSetTime | ( | double | time | ) |
This function sets the value of the GLFW timer. It then continues to count up from that value.
[in] | time | The new value, in seconds. |