Every cell a straight line crosses from a to b, both included - the hex-grid analogue
of mwg/roguelike's traceLine, and what a simple (non-shadowcast) hex field of view is
built from: walk the line to a candidate cell and see whether anything on it is opaque.
Every cell a straight line crosses from
atob, both included - the hex-grid analogue ofmwg/roguelike'straceLine, and what a simple (non-shadowcast) hex field of view is built from: walk the line to a candidate cell and see whether anything on it is opaque.