News for hackers. Stuff that matters.
Re:Show HN: 3D Raycasting Engine in JavaScript by high_byte on Thursday April 02, 2020 @03:26AM (#22756934)
you're killing your stack with redundant recursion, here:

return findWall(map, position.add(deltaX, deltaY), deltaX, deltaY);

no reason not to loop here.

There are no comments on this comment yet.