18 #include "../detail/qualifier.hpp" 20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 21 # pragma message("GLM: GLM_EXT_vector_relational extension included") 35 template<length_t L,
typename T, qualifier Q>
36 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q>
equal(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, T
epsilon);
44 template<length_t L,
typename T, qualifier Q>
45 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q>
equal(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, vec<L, T, Q>
const&
epsilon);
53 template<length_t L,
typename T, qualifier Q>
54 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q>
notEqual(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, T
epsilon);
62 template<length_t L,
typename T, qualifier Q>
63 GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q>
notEqual(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, vec<L, T, Q>
const&
epsilon);
68 #include "vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.