mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Fixes to retraction and skirt
This commit is contained in:
parent
a1d518f1a2
commit
5a07137def
4 changed files with 5 additions and 6 deletions
|
@ -57,7 +57,7 @@ sub points_coincide {
|
|||
|
||||
sub distance_between_points {
|
||||
my ($p1, $p2) = @_;
|
||||
return sqrt(($p1->[X] - $p2->[X])**2 + ($p1->[Y] - $p2->[Y])**2);
|
||||
return sqrt((($p1->[X] - $p2->[X])**2) + ($p1->[Y] - $p2->[Y])**2);
|
||||
}
|
||||
|
||||
sub point_in_polygon {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue