mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-16 04:11:13 +00:00
Improve performance by migrating to Clipper2 2.0.1 (#15969)
Co-authored-by: Rodrigo Faselli <162915171+RF47@users.noreply.github.com>
This commit is contained in:
co-authored by
Rodrigo Faselli
parent
70bc02467b
commit
222c6a2df5
@@ -261,7 +261,8 @@ static void _test_concave_hull(const Polygons &hull, const ExPolygons &polys)
|
||||
|
||||
REQUIRE(cchull_holes == 0);
|
||||
|
||||
Polygons intr = diff(to_polygons(polys), hull);
|
||||
// Hull vertices where the connectors cross the input are rounded, so the hull may miss the input by a unit or two.
|
||||
Polygons intr = diff(to_polygons(polys), offset(hull, float(SCALED_EPSILON)));
|
||||
REQUIRE(intr.empty());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user