[gameprogrammer] basic vector math

  • From: Roger Durañona <luo_hei@xxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Wed, 23 Jul 2008 13:51:49 -0400

I have a little math problem here. I have an opengl camera system with a target coord (where the camera looks) and a camera position. The view is isometric like, and I need to move the camera simulating scroll up, down, left and right. My problem is, how do I calculate the coordinate translation in a way that no matter the target/camera position, the scroll left always move the camera to the left and so on?


--
"La naturaleza y sus leyes yacían ocultas en la noche, Dios dijo , "Sea Newton" y todo fue luz", Alexander Pope "Pero esto no fue lo último. El diablo gritó "Sea Einstein", y se restableció la situación", John Collins Squire


                
______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: