mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 21:46:30 +01:00
Ported encloses_point() to XS and renamed to contains_point()
This commit is contained in:
1 parent
a225a8b2ef
commit
5f81292f3f
22 files changed
+81
-76
No files matched your search
@@ -55,7 +55,7 @@ use Slic3r::Test;
|
||||
}
|
||||
});
|
||||
my $convex_hull = Slic3r::Polygon->new(@{convex_hull([ map $_->pp, @extrusion_points ])});
|
||||
ok !(first { $convex_hull->encloses_point($_) } @toolchange_points), 'all toolchanges happen outside skirt';
|
||||
ok !(first { $convex_hull->contains_point($_) } @toolchange_points), 'all toolchanges happen outside skirt';
|
||||
}
|
||||
|
||||
__END__
|
||||
Reference in new issue
Block a user