diff -r 000781318c36 -r b54b350dff5d src/geometry.h --- a/src/geometry.h Fri Jul 30 01:28:39 2021 +0300 +++ b/src/geometry.h Fri Aug 27 00:55:32 2021 +0300 @@ -93,6 +93,7 @@ LineSegment2D bottom(const QRectF& rectangle); LineSegment2D left(const QRectF& rectangle); LineSegment2D right(const QRectF& rectangle); + bool convex(const std::vector& polygon); struct ScalingExtract { glm::vec3 scaling;