New feature: brim. #424

This commit is contained in:
Alessandro Ranellucci 2012-06-23 21:31:29 +02:00
parent 53d24bc580
commit 48addf8c3f
7 changed files with 57 additions and 8 deletions

View file

@ -147,12 +147,14 @@ sub rotate {
my $self = shift;
my ($angle, $center) = @_;
@$self = Slic3r::Geometry::rotate_points($angle, $center, @$self);
return $self;
}
sub translate {
my $self = shift;
my ($x, $y) = @_;
@$self = Slic3r::Geometry::move_points([$x, $y], @$self);
return $self;
}
1;