diff --git a/glm/core/type_mat4x4.inl b/glm/core/type_mat4x4.inl index 9e613d0f..ba9680f6 100644 --- a/glm/core/type_mat4x4.inl +++ b/glm/core/type_mat4x4.inl @@ -731,13 +731,13 @@ namespace detail typename tmat4x4::col_type const Mov1(v[1]); typename tmat4x4::col_type const Mul0 = m[0] * Mov0; typename tmat4x4::col_type const Mul1 = m[1] * Mov1; - typename tmat4x4::col_type const Add0 = Mul0 * Mul1; + typename tmat4x4::col_type const Add0 = Mul0 + Mul1; typename tmat4x4::col_type const Mov2(v[2]); typename tmat4x4::col_type const Mov3(v[3]); typename tmat4x4::col_type const Mul2 = m[2] * Mov2; typename tmat4x4::col_type const Mul3 = m[3] * Mov3; - typename tmat4x4::col_type const Add1 = Mul2 * Mul3; - typename tmat4x4::col_type const Add2 = Add0 * Add1; + typename tmat4x4::col_type const Add1 = Mul2 + Mul3; + typename tmat4x4::col_type const Add2 = Add0 + Add1; return Add2; /*