View Full Version : Glut Mouse Func question.
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.
10-01-2002, 04:20 AM
glutWarpPointer(int x, int y) will set the cursor position to the given coordinates.
10-01-2002, 07:31 AM
10-01-2002, 12:21 PM
Awsome I been looking for that exact answer.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.