Skip to main content

update_sector

Function update_sector 

Source
pub fn update_sector(
    sectors: &[Sector],
    walls: &[Wall],
    x: f64,
    y: f64,
    hint: i32,
) -> i32
Expand description

Finds the sector containing (x, y), searching neighbours of hint first.