glut mouse control
Hey all,
I''m using glut to make an ogl model editor. I know how to get the cursor position on a mouse click, but not how to track it otherwise. Is there a glut function that returns the mouse coordinates?? Thanks to anyone who replies!
-Alex
www.a-tronic.com
Alex BroadwinA-Tronic Software & Design-----"if you fail in life, you were destined to fail. If you suceed in life, call me.""The answer is out there.""Please help, I'm using Windows!"
April 13, 2001 11:11 PM
Use glutPassiveMotionFunc to set the callback. http://sites.netscape.net/ptrpck/glutman/glutMotionFunc.html
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement