浏览代码

Added missing const expression qualifier on quaternion legth declaration

Christophe Riccio 12 年之前
父节点
当前提交
6e337bd5e0
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();