From: <wrt...@us...> - 2008-02-18 22:49:37
|
Revision: 7997 http://armagetronad.svn.sourceforge.net/armagetronad/?rev=7997&view=rev Author: wrtlprnft Date: 2008-02-18 14:49:42 -0800 (Mon, 18 Feb 2008) Log Message: ----------- removed some now-unused code Modified Paths: -------------- armagetronad/trunk/armagetronad/src/engine/eCamera.cpp Modified: armagetronad/trunk/armagetronad/src/engine/eCamera.cpp =================================================================== --- armagetronad/trunk/armagetronad/src/engine/eCamera.cpp 2008-02-18 22:47:47 UTC (rev 7996) +++ armagetronad/trunk/armagetronad/src/engine/eCamera.cpp 2008-02-18 22:49:42 UTC (rev 7997) @@ -1499,12 +1499,6 @@ offset = test.hit; } - tCoord unnormalzed_dir = dir * ((centerPosSmooth - pos).Norm() + offset); - - tCoord perp = dir.Turn(tCoord(0,1))*se_cameraEyeDistance; - tCoord dir2 = unnormalzed_dir - perp; - dir2.Normalize(); - gluLookAt(0, 0, 0, @@ -1516,8 +1510,6 @@ top.x,top.y, 1); - perp += pos; - glTranslatef(-pos.x,-pos.y,-z); glMatrixMode(GL_MODELVIEW); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |