Creating a camera for a scene
Overview
The camera I use is the camera described on learnopengl. I won’t repeat what’s written there so I encourage you to read that article.
If you don’t want to read the details the long and short of it is that you can move the camera using W,A,S,D. And if you uncomment this code in main.cpp you can look around with the mouse.
glfwSetCursorPosCallback(window,MouseCallback);
glfwSetInputMode(window,GLFW_CURSOR, GLFW_CURSOR_DISABLED);
For my implementation see camera.h and camera.cpp