From fe667e4a544eda7671d4cccad4c3f86d2c44b593 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Thu, 29 Apr 2010 15:54:48 +0100 Subject: [PATCH] Fixed Ticket 135 --- glm/gtc/quaternion.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index ce258a7a..6a73159c 100644 --- a/glm/gtc/quaternion.inl +++ b/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; -- GitLab