Skip to main content

nearby_sectors

Function nearby_sectors 

Source
pub fn nearby_sectors(
    sectors: &[Sector],
    walls: &[Wall],
    start: i32,
    x: f64,
    y: f64,
    reach: f64,
) -> Vec<usize>
Expand description

Collects sectors reachable through portals whose walls come within reach of (x, y).