diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-12-09 10:41:27 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2019-12-09 17:26:13 +0200 |
commit | d36958997b7db19d9d5e9ec8e5ea06210a598502 (patch) | |
tree | fde1d3e0c244233cb1cea5bb278c8238a48cda4b /src/mbgl/geometry | |
parent | b6b077d73aa63160b0860fd24e144f80f428ff1d (diff) | |
download | qtlocation-mapboxgl-d36958997b7db19d9d5e9ec8e5ea06210a598502.tar.gz |
[core] Add unit test for getAnchors and remove unused field
Diffstat (limited to 'src/mbgl/geometry')
-rw-r--r-- | src/mbgl/geometry/anchor.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/geometry/anchor.hpp b/src/mbgl/geometry/anchor.hpp index 1a2cbd3dac..f29796bf48 100644 --- a/src/mbgl/geometry/anchor.hpp +++ b/src/mbgl/geometry/anchor.hpp @@ -11,11 +11,10 @@ class Anchor { public: Point<float> point; float angle = 0.0f; - float scale = 0.0f; optional<std::size_t> segment; - Anchor(float x_, float y_, float angle_, float scale_, optional<std::size_t> segment_ = nullopt) - : point(x_, y_), angle(angle_), scale(scale_), segment(segment_) {} + Anchor(float x_, float y_, float angle_, optional<std::size_t> segment_ = nullopt) + : point(x_, y_), angle(angle_), segment(segment_) {} }; using Anchors = std::vector<Anchor>; |