View Full Version : glLookAt, the up vector

02-24-2004, 08:51 PM
How exactly does the up vector affect the camera? I know it tilts it to the side but is that all it does?

02-24-2004, 10:21 PM
Yes, that's all it does. A direction only (which you get form the eye and target position) is not enough to get a unique transformation. You need something to determine the roll about the direction vector, and that's what the up vector is for.