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
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2012-04-09 13:04:32 +0400
committerAlessandro Ranellucci <aar@cpan.org>2012-04-09 13:04:32 +0400
commit5bfe19a8b9d10fea39532c458de79ddf9b2967a0 (patch)
tree2c6350bf5898a949e7cd0507e03e2a4bdb816a13 /t/polyclip.t
parenta800b97fddd7299460e819738f5f1390f5da0ea6 (diff)
Huge speed Boost (pun intended). Also fixes a problem where infill was escaping perimeters sometimes (#305).
Diffstat (limited to 't/polyclip.t')
-rw-r--r--t/polyclip.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/polyclip.t b/t/polyclip.t
index 12352bf4e..285ef45be 100644
--- a/t/polyclip.t
+++ b/t/polyclip.t
@@ -140,12 +140,12 @@ is_deeply $intersection, [ [12, 12], [18, 16] ], 'internal lines are preserved';
is is_counter_clockwise($small_circle), 0, "hole is clockwise";
my $expolygon = Slic3r::ExPolygon->new($large_circle, $small_circle);
- $line = Slic3r::Line->new([152.741724,288.086671142818], [152.741724,34.166466971035]);
+ $line = Slic3r::Line->new([152.742,288.086671142818], [152.742,34.166466971035]);
my $intersections = $expolygon->clip_line($line);
is_deeply $intersections, [
- [ [152.741724, 288.086671142818], [152.741724, 215.178806915206], ],
- [ [152.741724, 108.087543109156], [152.741724, 35.166466971035] ],
+ [ [152.742, 288.087], [152.742, 215.179], ],
+ [ [152.742, 108.088], [152.742, 35.1665] ],
], 'line is clipped to square with hole';
}