Optimization of travel paths for fills

This commit is contained in:
Alessandro Ranellucci committed 2011-09-26 10:52:58 +02:00
1 parent 0cd10441a1
commit 415d1a5170
9 files changed
+230 -136

No files matched your search

+1
View File
@@ -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;