Browse Source

Added missing const expression qualifier on quaternion legth declaration

Christophe Riccio 12 years ago
parent
commit
6e337bd5e0
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:
 	public:
 		T x, y, z, w;
 		T x, y, z, w;
 
 
-		GLM_FUNC_DECL int length() const;
+		GLM_FUNC_DECL GLM_CONSTEXPR int length() const;
 
 
 		// Constructors
 		// Constructors
 		tquat();
 		tquat();