18 #include "../detail/qualifier.hpp" 20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 21 # pragma message("GLM: GLM_EXT_matrix_relational extension included") 36 template<length_t C, length_t R,
typename T, qualifier Q>
37 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
equal(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y);
46 template<length_t C, length_t R,
typename T, qualifier Q>
47 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
equal(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y, T
epsilon);
56 template<length_t C, length_t R,
typename T, qualifier Q>
57 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
equal(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y, vec<C, T, Q>
const&
epsilon);
66 template<length_t C, length_t R,
typename T, qualifier Q>
67 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
notEqual(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y);
76 template<length_t C, length_t R,
typename T, qualifier Q>
77 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
notEqual(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y, T
epsilon);
86 template<length_t C, length_t R,
typename T, qualifier Q>
87 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
notEqual(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y, vec<C, T, Q>
const&
epsilon);
92 #include "matrix_relational.inl" GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.