1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

Documentation work

This commit is contained in:
Camilla Berglund 2016-03-06 14:11:14 +01:00
parent 26cfd75d05
commit 337c77a39b
2 changed files with 5 additions and 4 deletions

View File

@ -554,8 +554,8 @@ glfwSetTime(4.0);
This sets the timer to the specified time, in seconds.
You can also access the raw timer value, in 1 / frequency seconds,
with @ref glfwGetTimerValue.
You can also access the raw timer value, measured in 1 / frequency
seconds, with @ref glfwGetTimerValue.
@code
GLFWuint64 value = glfwGetTimerValue();

View File

@ -3573,8 +3573,9 @@ GLFWAPI void glfwSetTime(double time);
/*! @brief Returns the current value of the raw timer.
*
* This function returns the current value of the raw timer. To get its
* frequency, call @ref glfwGetTimerFrequency.
* This function returns the current value of the raw timer, measured in
* 1 / frequency seconds. To get the frequency, call @ref
* glfwGetTimerFrequency.
*
* @return The value of the timer, or zero if an
* [error](@ref error_handling) occurred.