Browse Source

Fixed Ticket 135

Christophe Riccio 15 years ago
parent
commit
fe667e4a54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtc/quaternion.inl

+ 1 - 1
glm/gtc/quaternion.inl

@@ -449,7 +449,7 @@ namespace quaternion{
             Result.w = (m[1][2] - m[2][1]) * mult;
             Result.x = biggestVal;
             Result.y = (m[0][1] + m[1][0]) * mult;
-            Result.z = (m[2][1] + m[1][2]) * mult;
+            Result.z = (m[2][0] + m[0][2]) * mult;
             break;
         case 2:
             Result.w = (m[2][0] - m[0][2]) * mult;