1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-31 11:15:52 +00:00

Remove all id() and ordered_id() methods

This commit is contained in:
Alessandro Ranellucci
2012-07-22 20:59:42 +02:00
parent 1d04e15b63
commit 144a704e3b
4 changed files with 3 additions and 28 deletions
-10
View File
@@ -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);