diff options
author | Maxim Pimenov <m@maps.me> | 2018-07-11 17:17:11 +0300 |
---|---|---|
committer | Vlad Mihaylenko <vxmihaylenko@gmail.com> | 2018-07-23 18:54:18 +0300 |
commit | 8bcd254bdc661276c733c278a640973f3a4d7647 (patch) | |
tree | 437255344c758618448c3eb2ca56094d35cfa5b4 /drape_frontend/user_mark_shapes.cpp | |
parent | 08f38bd4fba8623603ec406307d715993aab4eed (diff) |
[geometry] Renamed SquareLength to SquaredLength.
Diffstat (limited to 'drape_frontend/user_mark_shapes.cpp')
-rw-r--r-- | drape_frontend/user_mark_shapes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drape_frontend/user_mark_shapes.cpp b/drape_frontend/user_mark_shapes.cpp index c91fd3beb8..b3338de24b 100644 --- a/drape_frontend/user_mark_shapes.cpp +++ b/drape_frontend/user_mark_shapes.cpp @@ -256,7 +256,7 @@ m2::SharedSpline SimplifySpline(UserLineRenderParams const & renderInfo, double m2::PointD lastAddedPoint; for (auto const & point : renderInfo.m_spline->GetPath()) { - if (spline->GetSize() > 1 && point.SquareLength(lastAddedPoint) * sqrScale < kMinSegmentLength) + if (spline->GetSize() > 1 && point.SquaredLength(lastAddedPoint) * sqrScale < kMinSegmentLength) { spline->ReplacePoint(point); } |