diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-01-07 15:48:09 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-01-07 15:48:09 +0400 |
commit | b17d06f9d1fd7d8d1c1b9c176e876f17fc89aaaf (patch) | |
tree | 39ea7c2366ac1fb550547a8c4c9e188df2ece9d5 /t/print.t | |
parent | ea47f3b6e7a62608c35f2ffe30c0e618633ffe57 (diff) |
Finished porting BoundingBox to XS
Diffstat (limited to 't/print.t')
-rw-r--r-- | t/print.t | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)'; } |