Do hole perimeters in ccw direction too

This commit is contained in:
Alessandro Ranellucci 2012-02-21 14:29:58 +01:00
parent b6bffacb9d
commit f2e1fe5241
2 changed files with 6 additions and 0 deletions

View file

@ -30,6 +30,11 @@ sub clone {
return (ref $self)->new(map $_->clone, @$self);
}
sub reverse {
my $self = shift;
@$self = reverse @$self;
}
sub lines {
my $self = shift;
return map Slic3r::Line->new($_), polygon_lines($self);