diff --git a/dywmtohrda.js b/dywmtohrda.js index 08cb36d..c1da97f 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -160,7 +160,7 @@ if (this.spawningBullets === true) { var end = start.clone().add(direction.clone().multiplyScalar(1000)); - start = position.clone().add(direction.clone().negative().multiplyScalar(5)); + start = position.clone().add(direction.clone().negate().multiplyScalar(5)); //start.x += 5;