16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-09-03 04:09:18 +02:00
Files
maszyna/ref/glm/glm/ext/scalar_relational.inl
2018-10-17 16:00:26 +02:00

17 lines
404 B
C++

#include "../common.hpp"
namespace glm
{
template<typename genType>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR bool equal(genType const& x, genType const& y, genType const& epsilon)
{
return abs(x - y) <= epsilon;
}
template<typename genType>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR bool notEqual(genType const& x, genType const& y, genType const& epsilon)
{
return abs(x - y) > epsilon;
}
}//namespace glm