[][src]Function pbrt::core::geometry::bnd3_union_pnt3

pub fn bnd3_union_pnt3<T>(b: &Bounds3<T>, p: &Point3<T>) -> Bounds3<T> where
    T: Float

Given a bounding box and a point, the bnd3_union_pnt3() function returns a new bounding box that encompasses that point as well as the original box.