Update rotate_vector.hpp

master
Giuseppe Barbieri ago%!(EXTRA string=8 years) committed by GitHub
parent 38b2fef162
commit af4499f3ca
  1. 4
      glm/gtx/rotate_vector.hpp

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