mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Removed useless Polygon constructor and some cleanup
This commit is contained in:
1 parent
5a78111efa
commit
efdf266df1
2 files changed
+5
-26
No files matched your search
@@ -22,6 +22,11 @@ sub new {
|
||||
$self;
|
||||
}
|
||||
|
||||
sub clone {
|
||||
my $self = shift;
|
||||
return (ref $self)->new(map $_->clone, @$self);
|
||||
}
|
||||
|
||||
sub serialize {
|
||||
my $self = shift;
|
||||
my $s = \ pack 'l*', map @$_, @$self;
|
||||
|
||||
Reference in new issue
Block a user