Mouse 'control' prob in OpenGL
Hey, Im currently trying to add some mouse control support for my 3rd person camera system. I have used glutPassiveMotionFunc to get the position and when it move it left or right it rotates the view as required. How, its a bit jumpy because it only seems to pickup on the position of the mouse when its moved. Its also hard to control. Its kinda hard to explain...
anyway, I was wondering if there is like a set cursor position function or a similar method to capture the mouse so that it gets set to the middle all the time to improve the control of the mouse. No DirectX though please. Just OpenGL stuff. Thankyou.