pub trait VisibilityMap {
    fn is_opaque(&self, p: IVec2) -> bool;
    fn is_in_bounds(&self, p: IVec2) -> bool;
    fn set_visible(&mut self, p: IVec2);
    fn dist(&self, a: IVec2, b: IVec2) -> f32;
}
Expand description

A trait used by the fov algorithm to calculate the resulting fov.

Required Methods

Implementors