src/App.cpp
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
{
    cameraRadius -= yoffset/2;
    if (basePitch > 20.0f)
        basePitch = 20.0f;
    if (basePitch < 0.0f)
        basePitch = 0.0f;
}
// glfw: whenever the mouse scroll wheel scrolls, this callback is called
// ----------------------------------------------------------------------
whenever the mouse scroll wheel scrolls, this callback is called
whenever the mouse scroll wheel scrolls this callback is called
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
{
    cameraRadius -= yoffset/2;
    if (basePitch > 20.0f)
        basePitch = 20.0f;
    if (basePitch < 0.0f)
        basePitch = 0.0f;
}
void scroll_callback ( GLFWwindow * window , double xoffset , double yoffset ) { cameraRadius -= yoffset / 2 ; if ( basePitch > 20.0f ) basePitch = 20.0f ; if ( basePitch < 0.0f ) basePitch = 0.0f ; }
glfw: whenever the mouse scroll wheel scrolls, this callback is called
glfw : whenever the mouse scroll wheel scrolls this callback is called