diff --git a/src/modules/graphics/Polyline.cpp b/src/modules/graphics/Polyline.cpp index 07dd1bd0a..ddf75cadf 100644 --- a/src/modules/graphics/Polyline.cpp +++ b/src/modules/graphics/Polyline.cpp @@ -24,7 +24,6 @@ // C++ #include -#include // treat adjacent segments with angles between their directions <5 degree as straight static const float LINES_PARALLEL_EPS = 0.05f; @@ -192,7 +191,6 @@ void MiterJoinPolyline::renderEdge(std::vector &anchors, std::vector 0) { // lines parallel, compute as u1 = q + ns * w/2, u2 = q - ns * w/2 - assert(ns == ns); //NaN check normals.push_back(ns); normals.push_back(-ns); } @@ -201,7 +199,6 @@ void MiterJoinPolyline::renderEdge(std::vector &anchors, std::vector