Browse Source

Add missing boolean operator declarations

Sami Kankaristo 9 years ago
parent
commit
c7700573a4
1 changed files with 8 additions and 0 deletions
  1. 8 0
      glm/gtx/dual_quaternion.hpp

+ 8 - 0
glm/gtx/dual_quaternion.hpp

@@ -164,6 +164,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