mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-16 12:12:51 +02:00
Use XS Point everywhere
This commit is contained in:
1 parent
d0701cdcd4
commit
9af2a1c007
37 files changed
+238
-303
No files matched your search
@@ -504,7 +504,7 @@ sub polygon_points_visibility {
|
||||
|
||||
my $our_line = [ $p1, $p2 ];
|
||||
foreach my $line (polygon_lines($polygon)) {
|
||||
my $intersection = line_intersection($our_line, $line, 1) or next;
|
||||
my $intersection = line_intersection($our_line, $line, 1) // next;
|
||||
next if grep points_coincide($intersection, $_), $p1, $p2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user