diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-04-24 05:16:18 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:20 +0300 |
commit | 60e2dcfbae9e9a766dfc24c05fa59b846822d8d2 (patch) | |
tree | 6c3c590729949b0235b7ee5717abbf9dd144518e /indexer/feature_impl.hpp | |
parent | 7e4bb0e4fd0800a9edb38d3b4c2e7d6c1abbd12d (diff) |
Pass CodingParams everywhere.
Diffstat (limited to 'indexer/feature_impl.hpp')
-rw-r--r-- | indexer/feature_impl.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indexer/feature_impl.hpp b/indexer/feature_impl.hpp index 6f37b3ce75..b13bedab6d 100644 --- a/indexer/feature_impl.hpp +++ b/indexer/feature_impl.hpp @@ -9,14 +9,14 @@ namespace feature { namespace pts { - inline int64_t FromPoint(m2::PointD const & p) + inline int64_t FromPoint(m2::PointD const & p, uint32_t coordBits) { - return PointToInt64(p.x, p.y); + return PointToInt64(p.x, p.y, coordBits); } - inline m2::PointD ToPoint(int64_t i) + inline m2::PointD ToPoint(int64_t i, uint32_t coordBits) { - CoordPointT const pt = Int64ToPoint(i); + CoordPointT const pt = Int64ToPoint(i, coordBits); return m2::PointD(pt.first, pt.second); } } |