Mouse view? (position mouse?)
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
GA
Visit our homepage: www.rarebyte.de.stGA
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement