OpenGL Camera almost done

BlitzMax Forums/BlitzMax OpenGL Programming/OpenGL Camera almost done

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Just found out that the z axis is backwards in opengl so what I had originally was right all along:

cam.Position.Set(0.0, 0.0, 0.0)
cam.ViewDir.Set(0.0, 0.0, -1.0)
cam.UpVector.Set(0.0, 1.0, 0.0)
cam.RightVector.Set(1.0, 0.0, 0.0)