Function rs_pbrt::core::geometry::bnd2_union_pnt2
source · pub fn bnd2_union_pnt2(b: &Bounds2f, p: Point2f) -> Bounds2f
Expand description
Given a bounding box and a point, the bnd2_union_pnt2() function returns a new bounding box that encompasses that point as well as the original box.