mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 07:32:39 -07:00
Adapt plater to new convex hull
This commit is contained in:
@@ -17,7 +17,7 @@ sort_points (Point a, Point b)
|
||||
void
|
||||
convex_hull(Points points, Polygon &hull)
|
||||
{
|
||||
assert(points.size() >= 2);
|
||||
assert(points.size() >= 3);
|
||||
// sort input points
|
||||
std::sort(points.begin(), points.end(), sort_points);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user