Completed vibration limit

This commit is contained in:
Alessandro Ranellucci 2012-11-17 12:08:19 +01:00
parent 96dd106f61
commit 600e951fd8
5 changed files with 47 additions and 8 deletions

View file

@ -32,6 +32,11 @@ sub length {
return Slic3r::Geometry::line_length($self);
}
sub vector {
my $self = shift;
return (ref $self)->new([0,0], [map $self->[B][$_] - $self->[A][$_], X,Y]);
}
sub atan {
my $self = shift;
return Slic3r::Geometry::line_atan($self);