brispace
07-22-2005, 10:00 PM
can some one help me with how to formulate new coords that allow the camera to strafe from side to side?
i know what needs to be gone.. i just cant remember from high school how to do it.
i am using gluLookAt for a first person view and i know i just need to move the position and the view coords perpendicular to the slope of position-to-view.
here is a diagram i made if it helps at all:
http://www.geocities.com/brispace/help.bmp
thank you!
i know what needs to be gone.. i just cant remember from high school how to do it.
i am using gluLookAt for a first person view and i know i just need to move the position and the view coords perpendicular to the slope of position-to-view.
here is a diagram i made if it helps at all:
http://www.geocities.com/brispace/help.bmp
thank you!