From cbd0f983b579000ea3cb14213a88a34d592b5d75 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 31 Oct 2017 13:36:16 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 5 bytes modified --- dywmtohrda.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dywmtohrda.js b/dywmtohrda.js index 0ff4adc..5444011 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -149,14 +149,14 @@ if (this.spawningBullets === true) { var position = this.camera.position.instance.clone(); var lookAt = this.camera.lookAt.instance.clone(); - // var mInverse = new THREE.Matrix4().getInverse( this.sceneCrosshair.instance.matrixWorld ); + var mInverse = new THREE.Matrix4().getInverse( this.sceneCrosshair.instance.matrixWorld ); - // position.applyMatrix4( mInverse ); + position.applyMatrix4( mInverse ); var geometry = new THREE.Geometry(); geometry.vertices.push( new THREE.Vector3( - 0, + position.x, position.y, position.z ),