pub fn bnd2_expand(b: &Bounds2f, delta: Float) -> Bounds2f {
    Bounds2f {
        p_min: b.p_min - Vector2f { x: delta, y: delta },
        p_max: b.p_max + Vector2f { x: delta, y: delta },
    }
}
/// Pads the bounding box by a constant factor in both dimensions.
Pads the bounding box by a constant factor in both dimensions.
Pads the bounding box by a constant factor in both dimensions .
pub fn bnd2_expand(b: &Bounds2f, delta: Float) -> Bounds2f {
    Bounds2f {
        p_min: b.p_min - Vector2f { x: delta, y: delta },
        p_max: b.p_max + Vector2f { x: delta, y: delta },
    }
}
pub fn bnd2_expand ( b : & Bounds2f , delta : Float ) -> Bounds2f { Bounds2f { p_min : b . p_min - Vector2f { x : delta , y : delta } , p_max : b . p_max + Vector2f { x : delta , y : delta } , } }
Pads the bounding box by a constant factor in both dimensions.
Pads the bounding box by a constant factor in both dimensions .
b
&Bounds2f
delta
Float