From ea8a8eef2b85c6f6a64e47b13cf3b1ea5100c4fd Mon Sep 17 00:00:00 2001 From: Michael Kirsch Date: Sat, 6 Jul 2019 01:25:02 +0200 Subject: [PATCH] separate eye not really necessary --- xs/t/25_transformationmatrix.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xs/t/25_transformationmatrix.t b/xs/t/25_transformationmatrix.t index b0b4c933b..d704ab6b6 100644 --- a/xs/t/25_transformationmatrix.t +++ b/xs/t/25_transformationmatrix.t @@ -16,10 +16,10 @@ BEGIN { use Slic3r::XS; use Slic3r::Geometry qw(X Y Z); -my $mat_eye = Slic3r::TransformationMatrix->new; -ok(check_elements($mat_eye,1,0,0,0,0,1,0,0,0,0,1,0), 'eye, init'); - my $mat1 = Slic3r::TransformationMatrix->new; + +ok(check_elements($mat1,1,0,0,0,0,1,0,0,0,0,1,0), 'eye, init'); + $mat1->set_elements(1,2,3,4,5,6,7,8,9,10,11,12); my $mat2 = Slic3r::TransformationMatrix->new; $mat2->set_elements(1,4,7,10,2,5,8,11,3,6,9,12);