PDA

View Full Version : help with mouse



Eclipix
03-09-2002, 02:50 PM
I am developing a simple 3d environment in which i want to walk through freely. I need to be able to look in all directions, and I was hoping to use the mouse track ball to do that for me. How do I set that up?

nexusone
03-09-2002, 04:18 PM
Here are a few mouse functions.
glutMouseFunc
glutMotionFunc
glutPassiveMotionFunc

For more examples of programming Opengl http://nehe.gamedev.net


Originally posted by Eclipix:
I am developing a simple 3d environment in which i want to walk through freely. I need to be able to look in all directions, and I was hoping to use the mouse track ball to do that for me. How do I set that up?