Speed boost for new infill patterns. #20

This commit is contained in:
Alessandro Ranellucci 2011-11-14 10:54:04 +01:00
parent 86f3e4fcd2
commit 12b06b0ab0
2 changed files with 16 additions and 2 deletions

View file

@ -118,6 +118,13 @@ sub has_segment {
return 0;
}
sub clip_with_polygon {
my $self = shift;
my ($polygon) = @_;
return $self->clip_with_expolygon(Slic3r::ExPolygon->new($polygon));
}
sub clip_with_expolygon {
my $self = shift;
my ($expolygon) = @_;