Browse Source

Fix wrong docs

The function this function is a helper of is using radians. In fact, glm is using radians everywhere!
Sven-Hendrik Haase 10 years ago
parent
commit
a827b248ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtx/transform.hpp

+ 1 - 1
glm/gtx/transform.hpp

@@ -64,7 +64,7 @@ namespace glm
 	GLM_FUNC_DECL tmat4x4<T, P> translate(
 	GLM_FUNC_DECL tmat4x4<T, P> translate(
 		tvec3<T, P> const & v);
 		tvec3<T, P> const & v);
 
 
-	/// Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in degrees. 
+	/// Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians. 
 	/// @see gtc_matrix_transform
 	/// @see gtc_matrix_transform
 	/// @see gtx_transform
 	/// @see gtx_transform
 	template <typename T, precision P>
 	template <typename T, precision P>