could I please get a little help? I'm trying to figure out the math for GL.Lookat() function.
I'm having problems figuring out 'moving forward' from an arbitrary position and angle.
my preferred input is a gamepad (right now i'm using XNA for the gamepad).
I have the following variables:
for CameraYaw i was inputting as degrees. Originally I was thinking it was something like using Sin and Cos of CameraYaw to figure out the correct viewing angle but it wasn't working correctly. Hope that makes sense :-/