You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This changes the controls to be more similar to what you would see in most video games, i.e. the up-vector always points in the same direction, here in the +Y direction, and arrow keys only move in the xz-plane, not up and down. This also necessitates the introduction of dedicated up and down controls, here using the spacebar and shift keys correspondingly.
float FoV = initialFoV;// - 5 * glfwGetMouseWheel(); // Now GLFW 3 requires setting up a callback for this. It's a bit too complicated for this beginner's tutorial, so it's disabled instead.
0 commit comments