SebastianB
06-30-2002, 11:23 PM
hi!
i am using my mouse to rotate my scene-camera. it works fine, i have registered a function with glutMotionFunc().
but unfortunately, when my cursor runs out of the window, my camera rotation comes to an end.
is there a possibility, in a "win32 CONSOLE appilcation" to set the mouse cursor back to the middle of the window?
if anybody could give me a hint or two, i could reset the cursor after every movement and everything would be perfect ...
i would be very thankful for help :-)
http://www.opengl.org/discussion_boards/ubb/smile.gif)
sebastian
i am using my mouse to rotate my scene-camera. it works fine, i have registered a function with glutMotionFunc().
but unfortunately, when my cursor runs out of the window, my camera rotation comes to an end.
is there a possibility, in a "win32 CONSOLE appilcation" to set the mouse cursor back to the middle of the window?
if anybody could give me a hint or two, i could reset the cursor after every movement and everything would be perfect ...
i would be very thankful for help :-)
http://www.opengl.org/discussion_boards/ubb/smile.gif)
sebastian