remove non-func unrotate() and fold rotinfo back into belt
This commit is contained in:
parent
bfd8e9d322
commit
4bc113096b
7 changed files with 43 additions and 76 deletions
|
|
@ -33,8 +33,8 @@ class Stack {
|
|||
|
||||
rotate(set) {
|
||||
this.view.rotation.x = -set.angle * (Math.PI/180);
|
||||
this.view.position.y += -set.dy;
|
||||
this.view.position.z += -set.dz;
|
||||
this.view.position.y = -set.dy;
|
||||
this.view.position.z = -set.dz;
|
||||
}
|
||||
|
||||
destroy() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue