mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Remove all id() and ordered_id() methods
This commit is contained in:
@@ -17,16 +17,6 @@ sub new {
|
||||
sub a { $_[0][0] }
|
||||
sub b { $_[0][1] }
|
||||
|
||||
sub id {
|
||||
my $self = shift;
|
||||
return $self->a->id . "-" . $self->b->id;
|
||||
}
|
||||
|
||||
sub ordered_id {
|
||||
my $self = shift;
|
||||
return join('-', sort map $_->id, @$self);
|
||||
}
|
||||
|
||||
sub coordinates {
|
||||
my $self = shift;
|
||||
return ($self->a->coordinates, $self->b->coordinates);
|
||||
|
||||
Reference in New Issue
Block a user