mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 03:52:01 +00:00
Documentation work
This commit is contained in:
parent
26cfd75d05
commit
337c77a39b
@ -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();
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user