new storage n matrix model
This commit is contained in:
parent
5d55cae92a
commit
65f6c7deec
5 changed files with 62 additions and 7 deletions
|
|
@ -128,6 +128,7 @@ mesh.object = class MeshObject {
|
|||
}
|
||||
|
||||
rotate(x = 0, y = 0, z = 0) {
|
||||
console.log('rotate', ...arguments);
|
||||
if (x) this.object.rotateOnWorldAxis(new Vector3(1,0,0), x);
|
||||
if (y) this.object.rotateOnWorldAxis(new Vector3(0,1,0), y);
|
||||
if (z) this.object.rotateOnWorldAxis(new Vector3(0,0,1), z);
|
||||
|
|
|
|||
Loading…
Reference in a new issue