mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-09-28 21:03:12 +08:00
Fix tests
This commit is contained in:
parent
a11f31c0a8
commit
8b60db55de
@ -64,7 +64,6 @@ sub concave_points {
|
|||||||
my $vertex_angle = Slic3r::Geometry::angle3points(@points_pp[$i, $i-1, $i+1]);
|
my $vertex_angle = Slic3r::Geometry::angle3points(@points_pp[$i, $i-1, $i+1]);
|
||||||
if ($vertex_angle <= $ccw_angle) {
|
if ($vertex_angle <= $ccw_angle) {
|
||||||
push @concave, $points[$i];
|
push @concave, $points[$i];
|
||||||
use XXX; YYY ($points[$i]->pp);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return [@concave];
|
return [@concave];
|
||||||
|
@ -191,7 +191,7 @@ my $polygons = [
|
|||||||
#==========================================================
|
#==========================================================
|
||||||
|
|
||||||
{
|
{
|
||||||
my $square = Slic3r::Polygon->new(
|
my $square = Slic3r::Polygon->new_scale(
|
||||||
[150,100],
|
[150,100],
|
||||||
[200,100],
|
[200,100],
|
||||||
[200,200],
|
[200,200],
|
||||||
@ -203,7 +203,7 @@ my $polygons = [
|
|||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
my $square = Slic3r::Polygon->new(
|
my $square = Slic3r::Polygon->new_scale(
|
||||||
[200,200],
|
[200,200],
|
||||||
[100,200],
|
[100,200],
|
||||||
[100,100],
|
[100,100],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user