Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Jun 25, 2014
1 parent a11f31c commit 8b60db5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/Slic3r/Polygon.pm
Expand Up @@ -64,7 +64,6 @@ sub concave_points {
my $vertex_angle = Slic3r::Geometry::angle3points(@points_pp[$i, $i-1, $i+1]);
if ($vertex_angle <= $ccw_angle) {
push @concave, $points[$i];
use XXX; YYY ($points[$i]->pp);
}
}
return [@concave];
Expand Down
4 changes: 2 additions & 2 deletions t/geometry.t
Expand Up @@ -191,7 +191,7 @@ my $polygons = [
#==========================================================

{
my $square = Slic3r::Polygon->new(
my $square = Slic3r::Polygon->new_scale(
[150,100],
[200,100],
[200,200],
Expand All @@ -203,7 +203,7 @@ my $polygons = [
}

{
my $square = Slic3r::Polygon->new(
my $square = Slic3r::Polygon->new_scale(
[200,200],
[100,200],
[100,100],
Expand Down

0 comments on commit 8b60db5

Please sign in to comment.