Sign in to follow this  

Moving Camera While Using glut warp pointer?

Recommended Posts

I got my camera working properly except part of the time there is a glitch which causes the camera view to jump to the bottom of the screen when you move the cursor up close to the top right of the window. Also part of the time when the window is resized everything is thrown totally out of proportion and the orientation is all wrong. As for my question regarding rotating the camera while using the glutWarpPointer function, I am able to get the pointer to warp to the center of the screen after the window is resized but the camera will not rotate when I move my mouse. Can someone tell me what I need to do to get the camera to rotate while using the glutWarpPointer fuction. Much Thanks up front, L.J. Bush

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this