20 #include "../vector_relational.hpp" 22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 23 # pragma message("GLM: GLM_EXT_quaternion_relational extension included") 35 template<
typename T, qualifier Q>
36 GLM_FUNC_DECL vec<4, bool, Q>
equal(qua<T, Q>
const& x, qua<T, Q>
const& y);
42 template<
typename T, qualifier Q>
43 GLM_FUNC_DECL vec<4, bool, Q>
equal(qua<T, Q>
const& x, qua<T, Q>
const& y, T
epsilon);
49 template<
typename T, qualifier Q>
50 GLM_FUNC_DECL vec<4, bool, Q>
notEqual(qua<T, Q>
const& x, qua<T, Q>
const& y);
56 template<
typename T, qualifier Q>
57 GLM_FUNC_DECL vec<4, bool, Q>
notEqual(qua<T, Q>
const& x, qua<T, Q>
const& y, T
epsilon);
62 #include "quaternion_relational.inl" GLM_FUNC_DECL vec< 4, bool, Q > equal(qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
GLM_FUNC_DECL vec< 4, bool, Q > notEqual(qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.