Add missing boolean operator declarations

This commit is contained in:
Sami Kankaristo 2016-03-15 02:37:38 +02:00 committed by Christophe Riccio
parent 42b818d4bb
commit c7700573a4

View File

@ -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