Update: CC - SpoonLib - Before Render (r8z71ver1l.js) 4 bytes modified
parent
663df9945f
commit
991e10c4cd
|
@ -13,7 +13,7 @@ if (!this.initialized) {
|
|||
this.time += 0.01;
|
||||
|
||||
this.camera.position.x = 32 + Math.sin(this.time) * 20;// * (window.innerWidth - (window.innerWidth / 2));
|
||||
this.camera.position.y = 32 + Math.sin(this.time) * 20;//Math.cos(this.time) * (window.innerHeight - (window.innerHeight / 2));
|
||||
this.camera.position.y = 32 + Math.sin(this.time / 2) * 20;//Math.cos(this.time) * (window.innerHeight - (window.innerHeight / 2));
|
||||
this.camera.position.z = 100 + Math.sin(this.time) * 15;//Math.sin(this.camera.position.y) * Math.cos(this.camera.position.x);
|
||||
this.camera.updateInstance('position');
|
||||
|
||||
|
|
Loading…
Reference in New Issue