|
From: <axl...@us...> - 2009-07-04 15:37:59
|
Revision: 400
http://hgengine.svn.sourceforge.net/hgengine/?rev=400&view=rev
Author: axlecrusher
Date: 2009-07-04 15:37:58 +0000 (Sat, 04 Jul 2009)
Log Message:
-----------
use unified matrix loader
Modified Paths:
--------------
Mercury2/src/Viewport.cpp
Modified: Mercury2/src/Viewport.cpp
===================================================================
--- Mercury2/src/Viewport.cpp 2009-07-04 15:36:52 UTC (rev 399)
+++ Mercury2/src/Viewport.cpp 2009-07-04 15:37:58 UTC (rev 400)
@@ -23,9 +23,7 @@
//Load the frustum into the projection
//"eye" position does not go into projection
glMatrixMode(GL_PROJECTION);
- MercuryMatrix f = m_frustum.GetMatrix();
- f.Transpose();
- glLoadMatrixf( f.Ptr() );
+ glLoadMatrix( m_frustum.GetMatrix() );
glMatrixMode(GL_MODELVIEW);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|