mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Refactoring. Point objects are now plain arrayrefs. Slicing is 30% faster.
This commit is contained in:
@@ -9,7 +9,7 @@ sub split_at {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
|
||||
$point = Slic3r::Point->cast($point);
|
||||
$point = Slic3r::Point->new($point);
|
||||
|
||||
# find index of point
|
||||
my $i = -1;
|
||||
|
||||
Reference in New Issue
Block a user