|
From: <axl...@us...> - 2010-05-03 02:29:05
|
Revision: 721
http://hgengine.svn.sourceforge.net/hgengine/?rev=721&view=rev
Author: axlecrusher
Date: 2010-05-03 02:28:59 +0000 (Mon, 03 May 2010)
Log Message:
-----------
Use FloatRow. There is no reason not to now that its just an aligned float array.
Modified Paths:
--------------
Mercury2/src/MQuaternion.h
Modified: Mercury2/src/MQuaternion.h
===================================================================
--- Mercury2/src/MQuaternion.h 2010-05-03 02:25:54 UTC (rev 720)
+++ Mercury2/src/MQuaternion.h 2010-05-03 02:28:59 UTC (rev 721)
@@ -80,7 +80,9 @@
//Tricky: This cannot be a float row, otherwise all references cease to operate as one would expect.
//Also, for most operations, it appeared to go slower. All the moving in and out of these variables
//is disadvantagious.
- float m_wxyz[4];
+// float m_wxyz[4];
+ //FlotRow is not just 16 byte alligned float[4] array. Ok now.
+ FloatRow m_wxyz;
} CC_ALIGN(16);
///Produce a matrix out of a rotation x, then y then z (how Mercury does it)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|