Safe Haskell | None |
---|---|
Language | Haskell2010 |
A restrictive variant of Recursive Shadow Casting FOV with infinite range. It's not designed for dungeons with diagonal walls and so here they block visibility, though they don't block movement. The main advantage of the algorithm is that it's very simple and fast.
Documentation
type SBump = (Progress, Distance) Source
Rotated and translated coordinates of 2D points, so that they fit in the same single octant area.