change to global epsilon

This commit is contained in:
Michael Kirsch 2019-07-03 22:22:09 +02:00 committed by Joseph Lenox
parent 929da2e6d8
commit 196c20a55f

View File

@ -59,7 +59,7 @@ void TransformationMatrix::swap(TransformationMatrix &other)
bool TransformationMatrix::operator==(const TransformationMatrix &other) const
{
double eps = 1e-14;
double const eps = EPSILON;
bool is_equal = true;
is_equal &= (abs(this->m11 - other.m11) < eps);
is_equal &= (abs(this->m12 - other.m12) < eps);