question about camera

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?

Hi !

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

Mikael