Function line_of_sight

Source
pub fn line_of_sight<T, B>(
    eye: Point3,
    target: &T,
    blockers: &[&B],
) -> Result<Sight, SightError>
Expand description

Whether any part of target is in view from eye, past blockers.

ยงErrors

SightError for non-finite input or an empty target.