From 585d5830976fa825092668c57ffd83c579585072 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 31 Oct 2017 14:02:17 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 12 bytes modified --- dywmtohrda.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dywmtohrda.js b/dywmtohrda.js index bc8b7c3..07b5150 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -153,6 +153,8 @@ if (this.spawningBullets === true) { var direction = lookAt.sub(position).normalize(); + direction.add(position); + var start = direction.clone(); var end = direction.clone(); @@ -160,8 +162,7 @@ if (this.spawningBullets === true) { start.multiplyScalar(-100); end.multiplyScalar(100); - start.add(position); - end.add(position); + console.log(start);