Add const qualifier in extractEulerAngleXYZ()

master
Sergey Alexandrov ago%!(EXTRA string=10 years)
parent 32fc69ee11
commit e05935c7bd
  1. 2
      glm/gtx/euler_angles.hpp
  2. 2
      glm/gtx/euler_angles.inl

@ -161,7 +161,7 @@ namespace glm
/// Extracts the (X * Y * Z) Euler angles from the rotation matrix M /// Extracts the (X * Y * Z) Euler angles from the rotation matrix M
/// @see gtx_euler_angles /// @see gtx_euler_angles
template <typename T> template <typename T>
GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4<T, defaultp> & M, GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4<T, defaultp> const & M,
T & t1, T & t1,
T & t2, T & t2,
T & t3); T & t3);

@ -323,7 +323,7 @@ namespace glm
} }
template <typename T> template <typename T>
GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4<T, defaultp> & M, GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4<T, defaultp> const & M,
T & t1, T & t1,
T & t2, T & t2,
T & t3) T & t3)

Loading…
Cancel
Save