Very large refactoring. Ditched Slic3r::Polyline::Closed and reorganized geometric classes.

This commit is contained in:
Alessandro Ranellucci committed 2011-12-30 19:59:51 +01:00
1 parent 2def6a9787
commit 8ed91a8ec4
20 files changed
+293 -349

No files matched your search

-7
View File
@@ -21,13 +21,6 @@ sub new {
return $self;
}
sub cast {
my $class = shift;
my ($line) = @_;
return $line if ref $line eq __PACKAGE__;
return $class->new($line);
}
sub a { $_[0][0] }
sub b { $_[0][1] }