From fa84c6d1b099222aab8f89e286475af081e6dfe6 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Sat, 31 Mar 2012 11:19:20 +0100 Subject: [PATCH] Added length implementation --- glm/gtc/quaternion.inl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/glm/gtc/quaternion.inl b/glm/gtc/quaternion.inl index 3cb4a604..e24dc2c1 100644 --- a/glm/gtc/quaternion.inl +++ b/glm/gtc/quaternion.inl @@ -31,6 +31,12 @@ namespace glm{ namespace detail { + template + GLM_FUNC_QUALIFIER typename tquat::size_type tquat::length() const + { + return 4; + } + template GLM_FUNC_QUALIFIER tquat::tquat() : x(0),