diff --git a/index.js b/index.js index 0a84680..551bdd4 100644 --- a/index.js +++ b/index.js @@ -322,7 +322,6 @@ function movePoint(p, s, u) { function rayThroughGrid(origin, direction, maxDistance) { const range = i => [...Array(i).keys()]; - const length = p => Math.sqrt(p[0] * p[0] + p[1] * p[1] + p[2] * [2]); const nextGrid = range(3).map(i => direction[i] > 0 ? Math.floor(origin[i] + 0.5) + 0.5 :