Question Description
I’m having some trouble with this assignment, I’ve completed most of it about 95%. I’m to use the modern openGL in visual studio with C++ code, to orbit the camera left to right horizontally, up and down vertically around a cube and assign that motion to the left mouse button holding left alt. Second, i’m to move the mouse up to zoom out/away from the cube and move the mouse down to zoom into the cube and assign that to the right mouse button holding left alt key. So far i’ve completed the first half and assigned the orbiting portion. But i have the zooming set to the scroll button of my mouse and i’m a bit lost on how to assign it to the requirements of the assignment. I’ve attached a PDF of my code so far.