Function game::ltn::draw_cells::draw_cells[][src]

pub fn draw_cells(map: &Map, neighborhood: &Neighborhood) -> GeomBatch
Expand description

Partition a neighborhood’s boundary polygon based on the cells. Currently this discretizes space into a grid, so the results don’t look perfect, but it’s fast.