MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / glfwGetTime

Function glfwGetTime

extern/glfw/src/input.c:1325–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1323}
1324
1325GLFWAPI double glfwGetTime(void)
1326{
1327 _GLFW_REQUIRE_INIT_OR_RETURN(0.0);
1328 return (double) (_glfwPlatformGetTimerValue() - _glfw.timer.offset) /
1329 _glfwPlatformGetTimerFrequency();
1330}
1331
1332GLFWAPI void glfwSetTime(double time)
1333{

Callers 4

ImGui_ImplGlfw_NewFrameFunction · 0.85
initMethod · 0.85
mainLoopMethod · 0.85

Calls 2

Tested by

no test coverage detected