mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Bugfix in polyline simplification
This commit is contained in:
parent
865e234a44
commit
ef201a99cc
3 changed files with 48 additions and 19 deletions
|
@ -12,7 +12,7 @@ use constant X => 0;
|
|||
use constant Y => 1;
|
||||
use constant epsilon => 1E-8;
|
||||
use constant epsilon2 => epsilon**2;
|
||||
our $parallel_degrees_limit = abs(deg2rad(10));
|
||||
our $parallel_degrees_limit = abs(deg2rad(3));
|
||||
|
||||
sub slope {
|
||||
my ($line) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue