Remove some dead code
This commit is contained in:
parent
f045a8fff1
commit
2fc6e91ee2
1
index.js
1
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 :
|
||||
|
Loading…
Reference in New Issue
Block a user