creating a basic camera from scratch in GLFW3