Update: CC - SpoonLib - Before Render (uou2i9be9r.js) 64 bytes modified

beta.r3js.org
-=yb4f310 2018-01-16 10:56:33 +01:00
parent 8a509cb860
commit 37dcb05ac5
1 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@ if (!this.entityLoaded) {
return;
}
//this.initialized = false;
if (!this.initialized) {
this.camera = this.entityLoaded.camera;
@ -29,7 +29,9 @@ this.camera.lookAt.z = 0;
this.camera.updateInstance('lookAt');
if (this.camera2dAnimation) {
this.camera2d.fov -= Math.cos(this.time) / 4;
this.camera2d.fov -= Math.cos(this.time) / 5.5;
console.log(this.camera2d.fov);
this.camera2d.updateInstance('fov');
if (this.camera2d.fov < 75) {
this.camera2d.fov = 75;