16 #include "../detail/setup.hpp" 17 #include "../detail/qualifier.hpp" 19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED) 20 # pragma message("GLM: GLM_EXT_vector_relational extension included") 36 template<length_t L,
typename T, qualifier Q>
37 GLM_FUNC_DECL vec<L, bool, Q>
equal(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, T
const&
epsilon);
47 template<length_t L,
typename T, qualifier Q>
48 GLM_FUNC_DECL vec<L, bool, Q>
equal(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, vec<L, T, Q>
const&
epsilon);
56 template<
typename genType>
57 GLM_FUNC_DECL
bool equal(genType
const& x, genType
const& y, genType
const&
epsilon);
67 template<length_t L,
typename T, qualifier Q>
68 GLM_FUNC_DECL vec<L, bool, Q>
notEqual(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, T
const&
epsilon);
78 template<length_t L,
typename T, qualifier Q>
79 GLM_FUNC_DECL vec<L, bool, Q>
notEqual(vec<L, T, Q>
const& x, vec<L, T, Q>
const& y, vec<L, T, Q>
const&
epsilon);
87 template<
typename genType>
88 GLM_FUNC_DECL
bool notEqual(genType
const& x, genType
const& y, genType
const&
epsilon);
97 template <length_t L,
typename T, qualifier Q>
98 GLM_FUNC_DECL vec<L, bool, Q>
openBounded(vec<L, T, Q>
const& Value, vec<L, T, Q>
const& Min, vec<L, T, Q>
const& Max);
107 template <length_t L,
typename T, qualifier Q>
108 GLM_FUNC_DECL vec<L, bool, Q>
closeBounded(vec<L, T, Q>
const& Value, vec<L, T, Q>
const& Min, vec<L, T, Q>
const& Max);
113 #include "vector_relational.inl" GLM_FUNC_DECL bool notEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
GLM_FUNC_DECL vec< L, bool, Q > openBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
GLM_FUNC_DECL vec< L, bool, Q > closeBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
GLM_FUNC_DECL bool equal(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.