mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Remove all id() and ordered_id() methods
This commit is contained in:
parent
1d04e15b63
commit
144a704e3b
4 changed files with 3 additions and 28 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue