| 127 | } |
| 128 | |
| 129 | void Viewer::key_callbackstatic(GLFWwindow* window, int key, int scancode, int action, int mods) |
| 130 | { |
| 131 | Viewer* viewer = reinterpret_cast<Viewer*>(glfwGetWindowUserPointer(window)); |
| 132 | viewer->key_callback(window, key, scancode, action, mods); |
| 133 | } |
| 134 | |
| 135 | void Viewer::key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) |
| 136 | { |
nothing calls this directly
no test coverage detected