PDA

View Full Version : Glut Mouse Func question.



LostInTheWoods
10-01-2002, 04:06 AM
When using the glut mouse functions to track the X,Y on the screen, is there a way to reset the X,Y of the mouse back to 0 after wards? Meaning, the mouse starts at 0,0 the mouse is moved, by a value of X,Y. The mouse function does something with that value. I then want to reset the Mouse to 0,0.

coredump
10-01-2002, 04:20 AM
glutWarpPointer(int x, int y) will set the cursor position to the given coordinates.

b

LostInTheWoods
10-01-2002, 07:31 AM
Thanks

Tweener
10-01-2002, 12:21 PM
Awsome I been looking for that exact answer.
You Rule