mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-31 20:51:12 -06:00
Ported Surface->offset() to XS
This commit is contained in:
parent
a331f4d27a
commit
46e3b3180e
6 changed files with 35 additions and 5 deletions
|
|
@ -7,11 +7,6 @@ our @ISA = qw(Exporter);
|
|||
our @EXPORT_OK = qw(S_TYPE_TOP S_TYPE_BOTTOM S_TYPE_INTERNAL S_TYPE_INTERNALSOLID S_TYPE_INTERNALBRIDGE S_TYPE_INTERNALVOID);
|
||||
our %EXPORT_TAGS = (types => \@EXPORT_OK);
|
||||
|
||||
sub offset {
|
||||
my $self = shift;
|
||||
return [ map $self->clone(expolygon => $_), @{$self->expolygon->offset_ex(@_)} ];
|
||||
}
|
||||
|
||||
sub p {
|
||||
my $self = shift;
|
||||
return @{$self->polygons};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue