Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Pimenov <m@maps.me>2018-11-20 15:03:25 +0300
committerTatiana Yan <tatiana.kondakova@gmail.com>2018-11-23 16:59:58 +0300
commitd75839e65c4a63ed0e4a7b192d584e8b83efb435 (patch)
treee047a2d0d4d55371fdb67c5cbef6ebd10f7506a4 /indexer/indexer_tests
parent3467f9aad381da685c13746e92c145d917e99439 (diff)
[coding] Moved functions that encode points to one common file.
Diffstat (limited to 'indexer/indexer_tests')
-rw-r--r--indexer/indexer_tests/bounds.hpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/indexer/indexer_tests/bounds.hpp b/indexer/indexer_tests/bounds.hpp
index ae6e8a4df8..811c07061c 100644
--- a/indexer/indexer_tests/bounds.hpp
+++ b/indexer/indexer_tests/bounds.hpp
@@ -5,10 +5,12 @@ struct Bounds
{
enum
{
- minX = MinX,
- maxX = MaxX,
- minY = MinY,
- maxY = MaxY
+ kMinX = MinX,
+ kMaxX = MaxX,
+ kMinY = MinY,
+ kMaxY = MaxY,
+ kRangeX = kMaxX - kMinX,
+ kRangeY = kMaxY - kMinY,
};
static m2::RectD FullRect() { return {MinX, MinY, MaxX, MaxY}; }