Example #1
0
static void ScrollCallback(GLFWwindow *window, double dx, double dy)
{
    bool quit = gSceneController->Scroll(dx, dy);
    if(quit)
        glfwSetWindowShouldClose(window, GL_TRUE);
}