--- a/src/geometry.h Tue Jun 14 23:04:49 2022 +0300 +++ b/src/geometry.h Wed Jun 15 12:17:29 2022 +0300 @@ -138,6 +138,7 @@ LineSegment2D bottom(const QRectF& rectangle); LineSegment2D left(const QRectF& rectangle); LineSegment2D right(const QRectF& rectangle); +bool isConvex(const Quadrilateral& quad); bool isConvex(const std::vector<glm::vec3>& polygon); Winding winding(const QPolygonF& polygon); struct ScalingExtract