diff --git a/includes/learnopengl/camera.h b/includes/learnopengl/camera.h index 6f9d0002c..d06b72890 100644 --- a/includes/learnopengl/camera.h +++ b/includes/learnopengl/camera.h @@ -1,7 +1,6 @@ #ifndef CAMERA_H #define CAMERA_H -#include #include #include @@ -79,7 +78,7 @@ class Camera } // processes input received from a mouse input system. Expects the offset value in both the x and y direction. - void ProcessMouseMovement(float xoffset, float yoffset, GLboolean constrainPitch = true) + void ProcessMouseMovement(float xoffset, float yoffset, bool constrainPitch = true) { xoffset *= MouseSensitivity; yoffset *= MouseSensitivity;