| 133 | } |
| 134 | |
| 135 | void Viewer::key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) |
| 136 | { |
| 137 | if (key == GLFW_KEY_ESCAPE && action == GLFW_PRESS) |
| 138 | shouldStop = true; |
| 139 | } |
| 140 | |
| 141 | void Viewer::onOpenGLBindingsChanged(OpenGLBindings *b) |
| 142 | { |