fix rotation to world axis
This commit is contained in:
parent
9bb758f323
commit
af6ae4ed32
2 changed files with 8 additions and 2 deletions
|
|
@ -51,8 +51,7 @@ let selection = {
|
|||
|
||||
rotate(dx = 0, dy = 0, dz = 0) {
|
||||
for (let s of selected) {
|
||||
let { x, y, z } = s.rotation();
|
||||
s.rotation(x + dx, y + dy, z + dz);
|
||||
s.rotate(dx, dy, dz);
|
||||
}
|
||||
return selection;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue