From dd948d3cc22e1037259fe0d931a0a70ff043de70 Mon Sep 17 00:00:00 2001 From: Jonathon Racz Date: Mon, 29 Dec 2014 22:57:51 -0500 Subject: [PATCH] Fixed inconsistency in templated value --- glm/gtx/matrix_decompose.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/matrix_decompose.inl b/glm/gtx/matrix_decompose.inl index 80250cb0..ba507d0e 100644 --- a/glm/gtx/matrix_decompose.inl +++ b/glm/gtx/matrix_decompose.inl @@ -135,7 +135,7 @@ namespace glm // Compute XY shear factor and make 2nd row orthogonal to 1st. Skew.z = dot(Row[0], Row[1]); - Row[1] = combine(Row[1], Row[0], static_cast(1.0), -Skew.z); + Row[1] = combine(Row[1], Row[0], static_cast(1), -Skew.z); // Now, compute Y scale and normalize 2nd row. Scale.y = length(Row[1]);