1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Merge pull request #449 from olasd/master

Fix Slic3r::Polygon's boost_linestring method to properly close the polygon
This commit is contained in:
Alessandro Ranellucci
2012-06-14 04:48:03 -07:00
+5
View File
@@ -16,6 +16,11 @@ sub lines {
return @lines;
}
sub boost_linestring {
my $self = shift;
return Boost::Geometry::Utils::linestring([@$self, $self->[0]]);
}
sub is_counter_clockwise {
my $self = shift;
return Math::Clipper::is_counter_clockwise($self);