PDA

View Full Version : question about camera



MrShoe
10-30-2001, 06:38 PM
I am building a flight simulator, the camera is positioned using gluLookAt... I have absolutely no idea how i would simulate banking in gluLookAt, that is, twisting the camera around the z axis. Does anyone have any ideas?

mikael_aronsson
10-30-2001, 11:13 PM
Hi !

That's what you have the UP vector in gluLookAt() for.

Mikael