mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00: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