[][src]Function rust_3d::closest_intersecting

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

Returns the closest intersection with the ray