|
From: <axl...@us...> - 2009-03-03 02:06:54
|
Revision: 169
http://hgengine.svn.sourceforge.net/hgengine/?rev=169&view=rev
Author: axlecrusher
Date: 2009-03-03 02:06:45 +0000 (Tue, 03 Mar 2009)
Log Message:
-----------
Fix nonSSE compile
Modified Paths:
--------------
Mercury2/src/MercuryMath.cpp
Modified: Mercury2/src/MercuryMath.cpp
===================================================================
--- Mercury2/src/MercuryMath.cpp 2009-03-03 02:02:34 UTC (rev 168)
+++ Mercury2/src/MercuryMath.cpp 2009-03-03 02:06:45 UTC (rev 169)
@@ -157,11 +157,11 @@
in1[14] * in2[11] + in1[15] * in2[15];
}
-void VectorMultiply4f( const FloatRow* matrix, const FloatRow* pa, FloatRow* outa )
+void VectorMultiply4f( const FloatRow* matrix, const FloatRow& pa, FloatRow& outa )
{
const float *m = *matrix;
- const float *p = *pa;
- float *out = *outa;
+ const float *p = pa;
+ float *out = outa;
out[0] = p[0] * m[0] + p[1] * m[1] + p[2] * m[2] + p[3] * m[3];
out[1] = p[0] * m[4] + p[1] * m[5] + p[2] * m[6] + p[3] * m[7];
out[2] = p[0] * m[8] + p[1] * m[9] + p[2] * m[10] + p[3] * m[11];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|