Static GLFW Callbacks
| 517 | |
| 518 | // Static GLFW Callbacks |
| 519 | void Window::FramebufferSizeCallback(GLFWwindow* window, int width, int height) { |
| 520 | // Update device pixel ratio for accurate mouse coordinate conversion |
| 521 | GetScene(window).GetWindow().UpdateDevicePixelRatio(); |
| 522 | } |
| 523 | |
| 524 | void Window::MouseCallback(GLFWwindow* window, double xpos, double ypos) { |
| 525 | GetScene(window).GetWindow().HandleMouseMove(xpos, ypos); |
nothing calls this directly
no test coverage detected