From 08cff664cef7076f4f0df0dfd71faa2a30f8244a Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 15 Jan 2018 22:11:15 +0100 Subject: [PATCH] Update: CC - SpoonLib - Before Render (a4hb4ubk5z.js) 12 bytes modified --- a4hb4ubk5z.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/a4hb4ubk5z.js b/a4hb4ubk5z.js index b1ded8d..c1bd10c 100644 --- a/a4hb4ubk5z.js +++ b/a4hb4ubk5z.js @@ -12,13 +12,13 @@ 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 / 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.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.z = 150 + Math.sin(this.time) * 50;//Math.sin(this.camera.position.y) * Math.cos(this.camera.position.x); this.camera.updateInstance('position'); -this.camera.lookAt.x = 32; -this.camera.lookAt.y = 32; +this.camera.lookAt.x = 0; +this.camera.lookAt.y = 0; this.camera.lookAt.z = 0; this.camera.updateInstance('lookAt');