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. This sets the timer to the specified time, in seconds.
You can also access the raw timer value, in 1 / frequency seconds, You can also access the raw timer value, measured in 1 / frequency
with @ref glfwGetTimerValue. seconds, with @ref glfwGetTimerValue.
@code @code
GLFWuint64 value = glfwGetTimerValue(); GLFWuint64 value = glfwGetTimerValue();

View File

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