Update: CC - Before Render - Moorcow (a2ow5l92js.js) 98 bytes modified

beta.r3js.org
-=yb4f310 2017-11-25 15:55:32 +01:00
parent 014d97a3e0
commit 58e688c398
1 changed files with 2 additions and 6 deletions

View File

@ -41,6 +41,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
this.star = this.entityLoaded.star;
this.santa = this.entityLoaded.santa;
this.scene = this.entityLoaded.scene;
this.camera = this.entityLoaded.camera;
this.burger = this.entityLoaded.burger;
this.parcel = this.entityLoaded.parcel;
this.renderer = this.entityLoaded.renderer;
@ -437,12 +438,7 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) {
this.drawScore = function(enemy) {
/*var scoreMesh = this.scoreMesh.clone();
scoreMesh.position = enemy.mesh.position.clone();
var scoreTexture = this.scoreTexture.clone();
scoreMesh.materials[0].instance.map = scoreTexture.instance;
*/
this.scoreMesh.instance.quaternion.copy(this.camera.instance.quaternion);
this.scoreMesh.position = enemy.mesh.position.clone();
this.scoreMesh.updateInstance('position');