54
54
# but angle3points measures CCW angle, so we calculate the complementary angle
55
55
my $ccw_angle = 2*PI-$angle;
61
61
for my $i (-1 .. ($#points-1)) {
63
62
# angle is measured in ccw orientation
64
63
my $vertex_angle = Slic3r::Geometry::angle3points(@points_pp[$i, $i-1, $i+1]);
65
64
if ($vertex_angle <= $ccw_angle) {
66
65
push @concave, $points[$i];