View Full Version : Camera

04-02-2005, 04: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).


04-02-2005, 08: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.

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