pub fn detail_level( bound: Bounds, errors: &[f32], distance: f32, fov_y: f32, height: f32, previous: Option<usize>, ) -> usize