mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Added ModelInstance::world_matrix() method and stl_transform using eigen transform
This commit is contained in:
1 parent
5f2afad95e
commit
15b1340514
8 files changed
+89
-46
No files matched your search
@@ -1141,13 +1141,12 @@ sub rotate {
|
||||
}
|
||||
|
||||
# Let's calculate vector of rotation axis (if we don't have it already)
|
||||
# The minus is there so that the direction is the same as was established
|
||||
if (defined $axis) {
|
||||
if ($axis == X) {
|
||||
$axis_x = -1;
|
||||
$axis_x = 1;
|
||||
}
|
||||
if ($axis == Y) {
|
||||
$axis_y = -1;
|
||||
$axis_y = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user