Update rotate_vector.hpp

This commit is contained in:
Giuseppe Barbieri 2017-02-09 17:53:35 +01:00 committed by GitHub
parent 38b2fef162
commit af4499f3ca

View File

@ -94,14 +94,14 @@ namespace glm
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(