mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Refactoring. Point objects are now plain arrayrefs. Slicing is 30% faster.
This commit is contained in:
parent
774717c8bb
commit
e410410dc7
10 changed files with 44 additions and 55 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue