Advertisement

glut mouse control

Started by April 13, 2001 03:05 PM
0 comments, last by ATronic 23 years, 10 months ago
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!"
Use glutPassiveMotionFunc to set the callback. http://sites.netscape.net/ptrpck/glutman/glutMotionFunc.html

This topic is closed to new replies.

Advertisement