Browse Source

Fixed inconsistency in templated value

Jonathon Racz 11 years ago
parent
commit
dd948d3cc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/matrix_decompose.inl

+ 1 - 1
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<T>(1.0), -Skew.z);
+		Row[1] = combine(Row[1], Row[0], static_cast<T>(1), -Skew.z);
 
 		// Now, compute Y scale and normalize 2nd row.
 		Scale.y = length(Row[1]);