diff -r c1ff4f107569 -r 24590af32ad6 src/geometry.h --- a/src/geometry.h Sat Mar 05 15:40:43 2022 +0200 +++ b/src/geometry.h Sat Mar 05 16:57:28 2022 +0200 @@ -1,4 +1,5 @@ #pragma once +#include #include "basics.h" namespace geom @@ -94,6 +95,7 @@ LineSegment2D left(const QRectF& rectangle); LineSegment2D right(const QRectF& rectangle); bool isConvex(const std::vector& polygon); + Winding winding(const QPolygonF& polygon); struct ScalingExtract { glm::vec3 scaling;