mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Optimization of travel paths for fills
This commit is contained in:
parent
0cd10441a1
commit
415d1a5170
9 changed files with 230 additions and 136 deletions
|
@ -124,6 +124,7 @@ sub nearest_point {
|
|||
if (!defined $distance || $d < $distance) {
|
||||
$nearest_point = $p;
|
||||
$distance = $d;
|
||||
return $p if $distance < epsilon;
|
||||
}
|
||||
}
|
||||
return $nearest_point;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue