Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t/print.t
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-01-07 15:48:09 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-01-07 15:48:09 +0400
commitb17d06f9d1fd7d8d1c1b9c176e876f17fc89aaaf (patch)
tree39ea7c2366ac1fb550547a8c4c9e188df2ece9d5 /t/print.t
parentea47f3b6e7a62608c35f2ffe30c0e618633ffe57 (diff)
Finished porting BoundingBox to XS
Diffstat (limited to 't/print.t')
-rw-r--r--t/print.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/print.t b/t/print.t
index a24f4742d..b4ff20145 100644
--- a/t/print.t
+++ b/t/print.t
@@ -25,7 +25,7 @@ use Slic3r::Test;
}
});
my $bb = Slic3r::Geometry::BoundingBox->new_from_points(\@extrusion_points);
- my $center = $bb->center_2D;
+ my $center = $bb->center;
ok abs(unscale($center->[X]) - $config->print_center->[X]) < epsilon, 'print is centered around print_center (X)';
ok abs(unscale($center->[Y]) - $config->print_center->[Y]) < epsilon, 'print is centered around print_center (Y)';
}