fix rotation to world axis

This commit is contained in:
Stewart Allen 2021-12-31 16:12:37 -05:00
commit af6ae4ed32
2 changed files with 8 additions and 2 deletions

View file

@ -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;
},