add missing include.

This commit is contained in:
Kim Kulling
2019-09-17 21:58:46 +02:00
parent 8b95479bb0
commit 2edcf82f5a
7 changed files with 27 additions and 49 deletions

View File

@@ -500,7 +500,7 @@ bool Curve::InRange(IfcFloat u) const {
if (IsClosed()) {
return true;
}
const IfcFloat epsilon = 1e-5;
const IfcFloat epsilon = Math::getEpsilon<float>();
return u - range.first > -epsilon && range.second - u > -epsilon;
}
#endif