robert
12-29-2001, 06:51 PM
hi i need some help to better understand glulookat http://www.opengl.org/discussion_boards/ubb/smile.gif..
I want to implement strafe movements and i thought it would be logical to just subract from the eye vector and lookat vector like so:
to move left one unit
glulookat(x-1, y, z, ex-1, ey, ez, lx,ly,lz);
but thats not the case http://www.opengl.org/discussion_boards/ubb/smile.gif.. i know angles are involved, so can someone pls pls pls explain the reson to me!
Thanks
I want to implement strafe movements and i thought it would be logical to just subract from the eye vector and lookat vector like so:
to move left one unit
glulookat(x-1, y, z, ex-1, ey, ez, lx,ly,lz);
but thats not the case http://www.opengl.org/discussion_boards/ubb/smile.gif.. i know angles are involved, so can someone pls pls pls explain the reson to me!
Thanks