Merge pull request #436 from taketwo/add-const

Add const qualifier in extractEulerAngleXYZ() #436
This commit is contained in:
Christophe R 2015-11-17 11:01:49 +01:00
commit 3a960f2afb
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)