ソースを参照

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();