mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-12 10:21:58 +02:00
ExPolygon::XS->rotate()
This commit is contained in:
1 parent
1506907212
commit
87a5de193d
7 files changed
+86
-19
No files matched your search
@@ -329,10 +329,7 @@ sub scale {
|
||||
|
||||
sub rotate {
|
||||
my $self = shift;
|
||||
my ($angle, $center) = @_;
|
||||
|
||||
$center = Slic3r::Point::XS->new(@$center) if ref($center) ne 'Slic3r::Point::XS';
|
||||
$_->rotate($angle, $center) for @{$self->expolygons};
|
||||
$_->rotate(@_) for @{$self->expolygons};
|
||||
$self;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user