ソースを参照

Add missing boolean operator declarations

Sami Kankaristo 9 年 前
コミット
55d7b07e12
1 ファイル変更8 行追加0 行削除
  1. 8 0
      glm/gtx/dual_quaternion.hpp

+ 8 - 0
glm/gtx/dual_quaternion.hpp

@@ -150,6 +150,14 @@ namespace glm
 	template <typename T, precision P>
 	GLM_FUNC_DECL tdualquat<T, P> operator/(tdualquat<T, P> const & q, T const & s);
 
+	// -- Boolean operators --
+
+	template <typename T, precision P>
+	GLM_FUNC_DECL bool operator==(tdualquat<T, P> const & q1, tdualquat<T, P> const & q2);
+
+	template <typename T, precision P>
+	GLM_FUNC_DECL bool operator!=(tdualquat<T, P> const & q1, tdualquat<T, P> const & q2);
+
 	/// Returns the normalized quaternion.
 	///
 	/// @see gtx_dual_quaternion