Browse Source

Merge pull request #610 from elect86/patch-3

Update rotate_vector.hpp typos #610
Christophe 8 years ago
parent
commit
1b40d6b957
1 changed files with 3 additions and 3 deletions
  1. 3 3
      glm/gtx/rotate_vector.hpp

+ 3 - 3
glm/gtx/rotate_vector.hpp

@@ -87,21 +87,21 @@ namespace glm
 		vec<3, T, P> const & v,
 		vec<3, T, P> const & v,
 		T const & angle);
 		T const & angle);
 		
 		
-	//! Rotate a four dimentionnals vector around the X axis.
+	//! Rotate a four dimensional vector around the X axis.
 	//! From GLM_GTX_rotate_vector extension.
 	//! From GLM_GTX_rotate_vector extension.
 	template<typename T, precision P>
 	template<typename T, precision P>
 	GLM_FUNC_DECL vec<4, T, P> rotateX(
 	GLM_FUNC_DECL vec<4, T, P> rotateX(
 		vec<4, T, P> const & v,
 		vec<4, T, P> const & v,
 		T const & angle);
 		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.
 	//! From GLM_GTX_rotate_vector extension.
 	template<typename T, precision P>
 	template<typename T, precision P>
 	GLM_FUNC_DECL vec<4, T, P> rotateY(
 	GLM_FUNC_DECL vec<4, T, P> rotateY(
 		vec<4, T, P> const & v,
 		vec<4, T, P> const & v,
 		T const & angle);
 		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.
 	//! From GLM_GTX_rotate_vector extension.
 	template<typename T, precision P>
 	template<typename T, precision P>
 	GLM_FUNC_DECL vec<4, T, P> rotateZ(
 	GLM_FUNC_DECL vec<4, T, P> rotateZ(