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:
parent
a754ab2e7e
commit
a827b248ef
@ -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…
x
Reference in New Issue
Block a user