From 2569e3a0071022f5d33540898fa7236961685c08 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 11 Sep 2012 19:06:44 -0400 Subject: [PATCH] fix GLMatrix::rotate() bug --- src/client/GL/GLMatrix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/GL/GLMatrix.cc b/src/client/GL/GLMatrix.cc index 7887fa0..abcb9dc 100644 --- a/src/client/GL/GLMatrix.cc +++ b/src/client/GL/GLMatrix.cc @@ -109,7 +109,7 @@ void GLMatrix::rotate(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) mult.m_mat[1][3] = 0.0; mult.m_mat[2][3] = 0.0; mult.m_mat[3][3] = 1.0; - *this = *this * mult; + multiply(mult); } void GLMatrix::frustum(GLfloat left, GLfloat right,