Functions | |
template<typename genTypeT , typename genTypeU > | |
bool | equalEpsilon (genTypeT const &x, genTypeT const &y, genTypeU const &epsilon) |
template<typename genTypeT , typename genTypeU > | |
bool | notEqualEpsilon (genTypeT const &x, genTypeT const &y, genTypeU const &epsilon) |
Comparison functions for a user defined epsilon values.
<glm/gtx/epsilon.hpp> need to be included to use these functionalities.
bool glm::equalEpsilon | ( | genTypeT const & | x, |
genTypeT const & | y, | ||
genTypeU const & | epsilon | ||
) |
Returns the component-wise compare of |x - y| < epsilon.
bool glm::notEqualEpsilon | ( | genTypeT const & | x, |
genTypeT const & | y, | ||
genTypeU const & | epsilon | ||
) |
Returns the component-wise compare of |x - y| >= epsilon.