diff options
Diffstat (limited to 'src/mbgl/geometry/anchor.hpp')
-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>; |