Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99cf90d
)
ecere/gfx/3D/Matrix: Fixed non Android GLES issues due to imcomplete matrix multiplic...
author
Jerome St-Louis
<jerome@ecere.com>
Fri, 26 Jun 2015 23:29:06 +0000
(19:29 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Fri, 26 Jun 2015 23:29:06 +0000
(19:29 -0400)
ecere/src/gfx/3D/Matrix.ec
patch
|
blob
|
history
diff --git
a/ecere/src/gfx/3D/Matrix.ec
b/ecere/src/gfx/3D/Matrix.ec
index
de0c050
..
ab1282f
100644
(file)
--- a/
ecere/src/gfx/3D/Matrix.ec
+++ b/
ecere/src/gfx/3D/Matrix.ec
@@
-45,7
+45,7
@@
public union Matrix
void Multiply(Matrix a, Matrix b)
{
-#ifdef _
_ANDROID__
+#ifdef _
GLES
// We need a full matrix multiplication for the Projection matrix
m[0][0]=a.m[0][0]*b.m[0][0] + a.m[0][1]*b.m[1][0] + a.m[0][2]*b.m[2][0] + a.m[0][3]*b.m[3][0];
m[0][1]=a.m[0][0]*b.m[0][1] + a.m[0][1]*b.m[1][1] + a.m[0][2]*b.m[2][1] + a.m[0][3]*b.m[3][1];