From b2cb4fe479d4ccf8fe91834849e4172a59c46812 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 27 Aug 2011 15:34:28 +0100 Subject: [PATCH] Fixed ticket #124 cast from mat* to quat undefined error --- glm/gtc/quaternion.inl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index e846fdc4..a4760ca6 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -88,7 +88,7 @@ namespace detail{ tmat3x3 const & m ) { - *this = toQuat(m); + *this = gtc::quaternion::quat_cast(m); } template @@ -97,7 +97,7 @@ namespace detail{ tmat4x4 const & m ) { - *this = toQuat(m); + *this = gtc::quaternion::quat_cast(m); } //////////////////////////////////////////////////////////////