diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-08-27 03:26:44 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-08-27 03:26:44 +0400 |
commit | fb763b01879f6943bf8f601f37e03947ccbf7511 (patch) | |
tree | 9a517eb477b366c33c622ab219289714a4e3fa02 /t/geometry.t | |
parent | b11b595c97232f5ff68fc6fa2ddab6b69108f459 (diff) |
Removed dependency on Math::Clipper
Diffstat (limited to 't/geometry.t')
-rw-r--r-- | t/geometry.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/geometry.t b/t/geometry.t index 2421a057b..0c4550f42 100644 --- a/t/geometry.t +++ b/t/geometry.t @@ -177,7 +177,7 @@ is Slic3r::Geometry::can_connect_points(@$points, $polygons), 0, 'can_connect_po #========================================================== { - my $bb = Slic3r::Geometry::BoundingBox->new_from_points([ [0, 1], [10, 2], [20, 2] ]); + my $bb = Slic3r::Geometry::BoundingBox->new_from_points([ map Slic3r::Point->new(@$_), [0, 1], [10, 2], [20, 2] ]); $bb->scale(2); is_deeply $bb->extents, [ [0,40], [2,4] ], 'bounding box is scaled correctly'; } |