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
@@ -22,8 +22,8 @@ sub infill_direction {
|
||||
my (@rotate, @shift);
|
||||
$rotate[0] = Slic3r::Geometry::deg2rad($self->angle);
|
||||
$rotate[1] = $self->bounding_box
|
||||
? $self->bounding_box->center_2D
|
||||
: $surface->expolygon->bounding_box->center_2D;
|
||||
? $self->bounding_box->center
|
||||
: $surface->expolygon->bounding_box->center;
|
||||
@shift = @{$rotate[1]};
|
||||
|
||||
if (defined $self->layer_id) {
|
||||
|
||||
Reference in new issue
Block a user