Advertisement

Mouse view? (position mouse?)

Started by September 20, 2002 08:09 AM
0 comments, last by Ketzer 22 years, 5 months ago
How would one implement a good mouseview? Currently im trying to map mouse left<->right to y-rotation of the camera and up<->down to x-rotation. I suppose i need to recenter the mouse everytime i update the rotaton values so the camera can rotate more than a fixed amount. But how can I do that? Currently Im only using opengl libraries and windows and would prefer not to use directx. Thanks, Ketzer
Use the win api command SetCursorPos(screen_x/2,screen_y/2)

GA
Visit our homepage: www.rarebyte.de.stGA

This topic is closed to new replies.

Advertisement