Fix wrong docs

The function this function is a helper of is using radians. In fact, glm is using radians everywhere!
master
Sven-Hendrik Haase ago%!(EXTRA string=9 years) committed by Christophe Riccio
parent a754ab2e7e
commit a827b248ef
  1. 2
      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>

Loading…
Cancel
Save