eliminate specialized rotate for belt

This commit is contained in:
Stewart Allen 2022-11-01 23:53:22 -04:00
commit fb39c48011
2 changed files with 5 additions and 9 deletions

View file

@ -566,17 +566,13 @@ class Widget {
this.setModified();
}
rotate(x, y, z, temp) {
this.group.forEach(w => {
w._rotate(x, y, z, temp);
});
this.center(false);
}
rotateRaw(x, y, z, temp) {
rotate(x, y, z, temp, center = true) {
this.group.forEach(w => {
w._rotate(x, y, z, temp);
});
if (center) {
this.center(false);
}
}
_rotate(x, y, z, temp) {