Fix wrong docs

The function this function is a helper of is using radians. In fact, glm is using radians everywhere!
This commit is contained in:
Sven-Hendrik Haase 2015-12-23 01:24:48 +01:00
parent 78f686b4be
commit 816b6b8c34

View File

@ -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>