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/loops.t
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2013-05-15 19:38:50 +0400
committerAlessandro Ranellucci <aar@cpan.org>2013-05-15 19:38:50 +0400
commitbfba5b3d789921302791b77acd484702bec2d579 (patch)
treefba52301c770372dbc82decd7353eb52e415b4e6 /t/loops.t
parent90280fe63b61139078c7ec37255fff7251d641d9 (diff)
Update tests after recent TriangleMesh optimizations
Diffstat (limited to 't/loops.t')
-rw-r--r--t/loops.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/loops.t b/t/loops.t
index d0340b200..2495f7c6c 100644
--- a/t/loops.t
+++ b/t/loops.t
@@ -40,6 +40,7 @@ use Slic3r::Test;
[ [5,5,0], [5,15,10], [5,5,10] ];
my $mesh = Slic3r::TriangleMesh->new(vertices => \@vertices, facets => \@facets);
+ $mesh->analyze;
my @lines = map $mesh->intersect_facet($_, 10), 0..$#facets;
my $loops = Slic3r::TriangleMesh::make_loops(\@lines);
is scalar(@$loops), 3, 'correct number of loops detected';