Update: CC - SpoonLib - Before Render (a4hb4ubk5z.js) 12 bytes modified
parent
08cff664ce
commit
3bf596f090
|
@ -10,7 +10,7 @@ if (!this.initialized) {
|
||||||
this.initialized = true;
|
this.initialized = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.time += 0.01;
|
this.time += 0.1 * data.delta;
|
||||||
|
|
||||||
this.camera.position.x = Math.sin(this.time) * 40;// * (window.innerWidth - (window.innerWidth / 2));
|
this.camera.position.x = Math.sin(this.time) * 40;// * (window.innerWidth - (window.innerWidth / 2));
|
||||||
this.camera.position.y = Math.sin(this.time / 2) * 40;//Math.cos(this.time) * (window.innerHeight - (window.innerHeight / 2));
|
this.camera.position.y = Math.sin(this.time / 2) * 40;//Math.cos(this.time) * (window.innerHeight - (window.innerHeight / 2));
|
||||||
|
|
Loading…
Reference in New Issue