18 #include "../detail/qualifier.hpp"
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_scalar_relational extension included")
30 template<
typename genType>
31 GLM_FUNC_DECL GLM_CONSTEXPR
bool equal(genType
const& x, genType
const& y, genType
const&
epsilon);
37 template<
typename genType>
38 GLM_FUNC_DECL GLM_CONSTEXPR
bool notEqual(genType
const& x, genType
const& y, genType
const&
epsilon);
48 template<
typename genType>
49 GLM_FUNC_DECL GLM_CONSTEXPR
bool equal(genType
const& x, genType
const& y,
int ULPs);
59 template<
typename genType>
60 GLM_FUNC_DECL GLM_CONSTEXPR
bool notEqual(genType
const& x, genType
const& y,
int ULPs);
65 #include "scalar_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise not-equal-to comparison of two matrices.
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise equal-to comparison of two matrices.
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.