mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-17 04:32:51 +02:00
Ported Point->distance_to() and Line->length()
This commit is contained in:
1 parent
c9f68ed28a
commit
e19c6a1494
7 files changed
+18
-6
No files matched your search
@@ -7,10 +7,4 @@ sub new_scale {
|
||||
return $class->new(map Slic3r::Geometry::scale($_), @_);
|
||||
}
|
||||
|
||||
sub distance_to {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
return Slic3r::Geometry::distance_between_points($self, $point);
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in new issue
Block a user