MCPcopy Create free account
hub / github.com/LibreVR/Revive / ScrollCallback

Method ScrollCallback

Revive/ProfileManager.cpp:219–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void ProfileManager::ScrollCallback(GLFWwindow* window, double xoffset, double yoffset)
220{
221 double xpos, ypos;
222 glfwGetCursorPos(window, &xpos, &ypos);
223 MicroProfileMousePosition((uint32_t)xpos, (uint32_t)ypos, (int)-yoffset);
224}
225#endif

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected