mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +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.
|
||||
|
||||
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();
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user