diff options
author | vng <viktor.govako@gmail.com> | 2014-09-27 17:20:05 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:29:05 +0300 |
commit | 85d96344d00481a92fc3fb9471ca0e49883444fb (patch) | |
tree | be3ce0af5deb1d626461bfb90d1c115cec0ffeaf /map/track.cpp | |
parent | 99168e583c597cb0f77df64a4aabdb9352888a8c (diff) |
[routing] Calculate projection on route only once, to avoid overhead in interactive following.
Diffstat (limited to 'map/track.cpp')
-rw-r--r-- | map/track.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/map/track.cpp b/map/track.cpp index ea0ca5a590..7ad9123329 100644 --- a/map/track.cpp +++ b/map/track.cpp @@ -150,11 +150,6 @@ double Track::GetLengthMeters() const return res; } -double Track::GetShortestSquareDistance(m2::PointD const & point) const -{ - return m_polyline.GetShortestSquareDistance(point); -} - void Track::Swap(Track & rhs) { swap(m_isVisible, rhs.m_isVisible); |