summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/line_bucket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/renderer/line_bucket.hpp')
-rw-r--r--src/mbgl/renderer/line_bucket.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mbgl/renderer/line_bucket.hpp b/src/mbgl/renderer/line_bucket.hpp
index d6dd1b5567..9c7ec3d93e 100644
--- a/src/mbgl/renderer/line_bucket.hpp
+++ b/src/mbgl/renderer/line_bucket.hpp
@@ -6,7 +6,6 @@
#include <mbgl/geometry/vao.hpp>
#include <mbgl/geometry/elements_buffer.hpp>
#include <mbgl/geometry/line_buffer.hpp>
-#include <mbgl/util/vec.hpp>
#include <mbgl/layer/line_layer.hpp>
#include <vector>
@@ -45,10 +44,10 @@ private:
uint16_t a, b, c;
};
void addCurrentVertex(const GeometryCoordinate& currentVertex, double& distance,
- const vec2<double>& normal, float endLeft, float endRight, bool round,
+ const Point<double>& normal, double endLeft, double endRight, bool round,
GLint startVertex, std::vector<LineBucket::TriangleElement>& triangleStore);
void addPieSliceVertex(const GeometryCoordinate& currentVertex, double distance,
- const vec2<double>& extrude, bool lineTurnsLeft, GLint startVertex,
+ const Point<double>& extrude, bool lineTurnsLeft, GLint startVertex,
std::vector<TriangleElement>& triangleStore);
public: