summaryrefslogtreecommitdiff
path: root/common/matrix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/matrix.cpp')
-rw-r--r--common/matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/matrix.cpp b/common/matrix.cpp
index e69e870..8f19cbd 100644
--- a/common/matrix.cpp
+++ b/common/matrix.cpp
@@ -205,9 +205,9 @@ void Matrix::LoadIdentity ()
memcpy (&m[0], &Identity, sizeof(float[16]));
}
-void Matrix::Multiply (Matrix& m1, Matrix& m2)
+void Matrix::Multiply(const Matrix& m1, const Matrix& m2)
{
- matmul (m, m1.m, m2.m);
+ matmul(m, m1.m, m2.m);
}
void Matrix::Rotate (float angle, float x, float y, float z)