mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
ADL for AlmostEqual* and use math:: instead of base:: (#9634)
* ADL for AlmostEqual* and use math:: instead of base:: Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
82133c5743
commit
30718e106e
@@ -13,7 +13,7 @@ uint8_t constexpr kFeatureSorterPointCoordBits = 27;
|
||||
// The absolute precision of the point encoding in the mwm files.
|
||||
// If both x and y coordinates of two points lie within |kMwmPointAccuracy| of one
|
||||
// another we consider the points equal. In other words, |kMwmPointAccuracy| may
|
||||
// be used as the eps value for both x and y in Point::EqualDxDy, base::AlmostEqualAbs and such.
|
||||
// be used as the eps value for both x and y in Point::EqualDxDy, AlmostEqualAbs and such.
|
||||
//
|
||||
// The constant is loosely tied to mercator::Bounds::kRangeX / (1 << kPointCoordBits):
|
||||
// The range of possible values for point coordinates
|
||||
|
||||
Reference in New Issue
Block a user