Browse Source

Update rotate_vector.hpp

Giuseppe Barbieri 8 years ago
parent
commit
af4499f3ca
1 changed files with 2 additions and 2 deletions
  1. 2 2
      glm/gtx/rotate_vector.hpp

+ 2 - 2
glm/gtx/rotate_vector.hpp

@@ -94,14 +94,14 @@ namespace glm
 		vec<4, T, P> const & v,
 		T const & angle);
 		
-	//! Rotate a four dimensional vector around the X axis.
+	//! Rotate a four dimensional vector around the Y axis.
 	//! From GLM_GTX_rotate_vector extension.
 	template<typename T, precision P>
 	GLM_FUNC_DECL vec<4, T, P> rotateY(
 		vec<4, T, P> const & v,
 		T const & angle);
 		
-	//! Rotate a four dimensional vector around the X axis.
+	//! Rotate a four dimensional vector around the Z axis.
 	//! From GLM_GTX_rotate_vector extension.
 	template<typename T, precision P>
 	GLM_FUNC_DECL vec<4, T, P> rotateZ(