Merge pull request #610 from elect86/patch-3

Update rotate_vector.hpp typos #610
This commit is contained in:
Christophe 2017-02-09 23:01:34 +01:00 committed by GitHub
commit 1b40d6b957

View File

@ -87,21 +87,21 @@ namespace glm
vec<3, T, P> const & v, vec<3, T, P> const & v,
T const & angle); T const & angle);
//! Rotate a four dimentionnals vector around the X axis. //! Rotate a four dimensional vector around the X 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> rotateX( GLM_FUNC_DECL vec<4, T, P> rotateX(
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(