mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 23:23:59 -06:00
Support material: refactoring
This commit is contained in:
parent
a24ffee2aa
commit
cc695c6c22
2 changed files with 29 additions and 19 deletions
|
@ -295,6 +295,7 @@ sub polygon_has_vertex {
|
|||
return 0;
|
||||
}
|
||||
|
||||
# polygon must be simple (non complex) and ccw
|
||||
sub polygon_is_convex {
|
||||
my ($points) = @_;
|
||||
for (my $i = 0; $i <= $#$points; $i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue