Function index_closest_intersecting

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

Returns the index of the closest intersection with the ray