mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-12-06 02:46:33 +01:00
Finished porting BoundingBox to XS
This commit is contained in:
1 parent
ea47f3b6e7
commit
b17d06f9d1
24 files changed
+160
-262
No files matched your search
@@ -12,7 +12,7 @@ sub process_polyline {
|
||||
my $self = shift;
|
||||
my ($polyline, $bounding_box) = @_;
|
||||
|
||||
$_->[X] += $bounding_box->center_2D->[X] for @$polyline;
|
||||
$_->[X] += $bounding_box->center->[X] for @$polyline;
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in new issue
Block a user