[−][src]Function antler::illumination::visibility::visibility
#[must_use]pub fn visibility<T: Display + Ord>(
scene: &Scene<'_, T>,
trace: Tracer,
vis: f64
) -> f64
Calculate the visibility of a given tracer. Tracer is traced to a maximum of the visibility distance.