From 0b1114b224f41818dec898072a37bbe6ae617080 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 31 Oct 2017 15:13:01 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 10 bytes modified --- dywmtohrda.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dywmtohrda.js b/dywmtohrda.js index 878d8ca..fa5d81c 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -171,7 +171,10 @@ if (this.spawningBullets === true) { var raycaster = new THREE.Raycaster(); - raycaster.ray = new THREE.Ray(this.camera.position.instance, start.clone().sub(this.camera.position.instance).normalize()); + raycaster.ray = new THREE.Ray( + this.camera.position.instance, + start.clone().sub(this.camera.position.instance).normalize() + ); var intersects = raycaster.intersectObjects( GameLib.EntityManager.Instance.queryComponents(GameLib.D3.Mesh).map(