Browse Source

Fixed missing constexpr in quaternion length

Felix Ungman 12 years ago
parent
commit
9d149d677f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      glm/gtc/quaternion.hpp

+ 1 - 1
glm/gtc/quaternion.hpp

@@ -61,7 +61,7 @@ namespace detail
 	public:
 		T x, y, z, w;
 
-		GLM_FUNC_DECL int length() const;
+		GLM_FUNC_DECL GLM_CONSTEXPR int length() const;
 
 		// Constructors
 		tquat();