From e05935c7bdb2f39cb000d7306c01288da0106c08 Mon Sep 17 00:00:00 2001 From: Sergey Alexandrov Date: Sun, 18 Oct 2015 17:41:19 +0200 Subject: [PATCH] Add const qualifier in extractEulerAngleXYZ() --- glm/gtx/euler_angles.hpp | 2 +- glm/gtx/euler_angles.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtx/euler_angles.hpp b/glm/gtx/euler_angles.hpp index e772bbf0..c1d5683d 100644 --- a/glm/gtx/euler_angles.hpp +++ b/glm/gtx/euler_angles.hpp @@ -161,7 +161,7 @@ namespace glm /// Extracts the (X * Y * Z) Euler angles from the rotation matrix M /// @see gtx_euler_angles template - GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4 & M, + GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4 const & M, T & t1, T & t2, T & t3); diff --git a/glm/gtx/euler_angles.inl b/glm/gtx/euler_angles.inl index 80b30dbe..0b417000 100644 --- a/glm/gtx/euler_angles.inl +++ b/glm/gtx/euler_angles.inl @@ -323,7 +323,7 @@ namespace glm } template - GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4 & M, + GLM_FUNC_DECL void extractEulerAngleXYZ(tmat4x4 const & M, T & t1, T & t2, T & t3)