Function closest_intersecting

Source
pub fn closest_intersecting<'c, I, HB>(
    ray: &Ray3D,
    hbs: I,
) -> Option<(Point3D, &'c HB)>
where I: Iterator<Item = &'c HB>, HB: HasBoundingBox3DMaybe,
Expand description

Returns the closest intersection with the ray