An implementation of Adam Millazo's FOV algorithm
This crate provides a single function, compute_fov which can be used to compute a field of view into a 2d grid from existing map data. compute_fov uses function callbacks to read map data and define visible tiles for the caller.
Example
use *;
let width = 50;
let height = 50;
let index = ;
let mut game_map = vec!;
// Add a vision blocker
game_map = Wall;
let mut vision = vec!;
let is_opaque = ;
let mark_visible = ;
compute_fov;
let is_visible = ;
assert!;
assert!;

Taken from the "terminal" example