Add TooFar to util.hh
This commit is contained in:
parent
990d2b4c11
commit
30d0570010
2 changed files with 8 additions and 48 deletions
|
@ -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__ */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue