|
From: <axl...@us...> - 2009-07-04 15:37:03
|
Revision: 399
http://hgengine.svn.sourceforge.net/hgengine/?rev=399&view=rev
Author: axlecrusher
Date: 2009-07-04 15:36:52 +0000 (Sat, 04 Jul 2009)
Log Message:
-----------
unified load matrix
Modified Paths:
--------------
Mercury2/src/GLHelpers.cpp
Modified: Mercury2/src/GLHelpers.cpp
===================================================================
--- Mercury2/src/GLHelpers.cpp 2009-07-04 06:23:28 UTC (rev 398)
+++ Mercury2/src/GLHelpers.cpp 2009-07-04 15:36:52 UTC (rev 399)
@@ -39,6 +39,14 @@
return "Unknown Error";
}
+void glLoadMatrix(const MercuryMatrix& m)
+{
+ static MercuryMatrix l;
+ l = m;
+ l.Transpose();
+ glLoadMatrixf( l.Ptr() );
+}
+
/****************************************************************************
* Copyright (C) 2009 by Joshua Allen *
* *
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|