Function rs_pbrt::core::geometry::bnd3_union_pnt3f
source · pub fn bnd3_union_pnt3f(b: &Bounds3f, p: &Point3f) -> Bounds3f
Expand description
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.