Merge pull request #610 from elect86/patch-3

Update rotate_vector.hpp typos #610
master
Christophe ago%!(EXTRA string=8 years) committed by GitHub
commit 1b40d6b957
  1. 6
      glm/gtx/rotate_vector.hpp

@ -87,21 +87,21 @@ namespace glm
vec<3, T, P> const & v,
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.
template<typename T, precision P>
GLM_FUNC_DECL vec<4, T, P> rotateX(
vec<4, T, P> const & v,
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.
template<typename T, precision P>
GLM_FUNC_DECL vec<4, T, P> rotateY(
vec<4, T, P> const & v,
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.
template<typename T, precision P>
GLM_FUNC_DECL vec<4, T, P> rotateZ(

Loading…
Cancel
Save