Update: CC - Entity Loaded - Moorcow (xtihcyhagp.js) 3 bytes modified

beta.r3js.org
-=yb4f310 2017-11-19 15:36:50 +01:00
parent 202ad4ead6
commit f43263a2a9
1 changed files with 5 additions and 4 deletions

View File

@ -73,6 +73,10 @@ GameLib.Event.Subscribe(
data.width,
data.height
);
this.camera.lookAt.x = 0;
this.camera.lookAt.y = 0;
this.camera.lookAt.z = 0;
this.camera.updateInstance('lookAt');
}.bind(this)
);
@ -90,10 +94,7 @@ GameLib.Event.Subscribe(
GameLib.Event.Emit(GameLib.Event.WINDOW_RESIZE, {width : window.innerWidth, height:window.innerHeight});
this.camera.lookAt.x = 0;
this.camera.lookAt.y = 0;
this.camera.lookAt.z = 0;
this.camera.updateInstance('lookAt');
GameLib.Event.Emit(
GameLib.Event.PLAY_AUDIO,