Skip to main content

update_sector_z

Function update_sector_z 

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

Like update_sector but also requires z to lie between ceiling and floor.