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.
https://www.savvyessaywriters.net/wp-content/uploads/2020/10/output-onlinepngtools-25-1-300x48.png 0 0 admin https://www.savvyessaywriters.net/wp-content/uploads/2020/10/output-onlinepngtools-25-1-300x48.png admin2020-10-19 03:18:122020-10-19 03:18:12cs330 panning zooming and orbiting a cube