pub fn get_z_range(
sectors: &[Sector],
walls: &[Wall],
x: f64,
y: f64,
z: f64,
sect: i32,
radius: f64,
step: f64,
) -> (f64, i32, f64, i32)Expand description
Highest floor and lowest ceiling under a cylinder of radius at (x, y).
Returns (ceil_z, ceil_sector, floor_z, floor_sector).