18 #include "../detail/setup.hpp"
19 #include "../detail/precision.hpp"
21 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTC_epsilon extension included")
34 template <
typename T, precision P,
template <
typename, precision>
class vecType>
36 vecType<T, P>
const & x,
37 vecType<T, P>
const & y,
44 template <
typename genType>
54 template <
typename genType>
58 typename genType::value_type
const &
epsilon);
64 template <
typename genType>
73 #include "epsilon.inl"
GLM_FUNC_DECL bool epsilonNotEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
GLM_FUNC_DECL bool epsilonEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.