Add TooFar to util.hh

This commit is contained in:
Eryn Wells 2014-08-10 10:49:45 -07:00
parent 990d2b4c11
commit 30d0570010
2 changed files with 8 additions and 48 deletions

View file

@ -57,5 +57,12 @@ NearlyEqual(T left,
return NearZero(left - right);
}
inline bool
TooFar(const Double& value)
{
return value > MAX_DISTANCE;
}
#endif /* __BASICS_UTIL_HH__ */