PDA

View Full Version : glutMouseFunc



Zath
06-25-2006, 04:44 PM
I have set up some funtions for the mouse.
The left, right, and middle buttons work ok and as expected.

How can I add mouse movements?

Thanks,

Zath

memfr0b
06-25-2006, 04:50 PM
With glutMotionFunc and glutPassiveMotionFunc (http://www.opengl.org/documentation/specs/glut/spec3/node51.html) .