re-enable and update belt bed / slice rotation
This commit is contained in:
parent
b34dc70944
commit
a0f08f0776
11 changed files with 63 additions and 41 deletions
|
|
@ -25,6 +25,11 @@
|
|||
this.view.visible = true;
|
||||
}
|
||||
|
||||
rotate(set) {
|
||||
this.view.rotation.y = -set.angle * (Math.PI/180);
|
||||
this.view.position.x = +set.centerz - set.movez;
|
||||
}
|
||||
|
||||
destroy() {
|
||||
this._view.remove(this.view);
|
||||
this.view = this.slices = this.meshes = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue