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>
notEqual(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y);
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, T
epsilon);
66 template<length_t C, length_t R,
typename T, qualifier Q>
67 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);
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);
96 template<length_t C, length_t R,
typename T, qualifier Q>
97 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
equal(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y,
int ULPs);
106 template<length_t C, length_t R,
typename T, qualifier Q>
107 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, int, Q>
const& ULPs);
116 template<length_t C, length_t R,
typename T, qualifier Q>
117 GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q>
notEqual(mat<C, R, T, Q>
const& x, mat<C, R, T, Q>
const& y,
int ULPs);
126 template<length_t C, length_t R,
typename T, qualifier Q>
127 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, int, Q>
const& ULPs);
132 #include "matrix_relational.inl"
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, int, Q > const &ULPs)
Returns the component-wise comparison between two vectors in term of ULPs.
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, int, Q > const &ULPs)
Returns the component-wise comparison between two vectors in term of ULPs.