PDA

View Full Version : Camera



Swiftless
04-02-2005, 05:48 PM
I am looking for non windows specific way to get keys and use them to move the camera. I also want a way to use the mouse for movement like in a FPS style game (non windows specific).

Thankyou

t3jem
04-02-2005, 09:33 PM
If you mean what I think you mean then you want to use the glutKeyboardFunc(void function(unsigned char, int x, int y); in your main function. If you look in your glut.h file you can find a bunch of keyboard and mouse functions that you can search to find how to use them.

Swiftless
04-06-2005, 01:25 AM
Thanks, I cant believe I didn't think to look in there :p