Browse Source

Changed sign for eulerAngleY to make it consistent with the others

Filippo Ramaciotti 12 years ago
parent
commit
3eb1f70758
1 changed files with 2 additions and 2 deletions
  1. 2 2
      glm/gtx/euler_angles.inl

+ 2 - 2
glm/gtx/euler_angles.inl

@@ -35,9 +35,9 @@ namespace glm
 		T sinY = glm::sin(angleY);
 
 		return detail::tmat4x4<T, defaultp>(
-			cosY,	T(0),	sinY,	T(0),
+			cosY,	T(0),	-sinY,	T(0),
 			T(0),	T(1),	T(0),	T(0),
-			-sinY,	T(0),	cosY,	T(0),
+			sinY,	T(0),	cosY,	T(0),
 			T(0),	T(0),	T(0),	T(1));
 	}