pub fn bnd3_expand(b: &Bounds3f, delta: Float) -> Bounds3f {
    Bounds3f::new(
        b.p_min
            - Vector3f {
                x: delta,
                y: delta,
                z: delta,
            },
        b.p_max
            + Vector3f {
                x: delta,
                y: delta,
                z: delta,
            },
    )
}
/// Pads the bounding box by a constant factor in all dimensions.
Pads the bounding box by a constant factor in all dimensions.
Pads the bounding box by a constant factor in all dimensions .
pub fn bnd3_expand(b: &Bounds3f, delta: Float) -> Bounds3f {
    Bounds3f::new(
        b.p_min
            - Vector3f {
                x: delta,
                y: delta,
                z: delta,
            },
        b.p_max
            + Vector3f {
                x: delta,
                y: delta,
                z: delta,
            },
    )
}
pub fn bnd3_expand ( b : & Bounds3f , delta : Float ) -> Bounds3f { Bounds3f :: new ( b . p_min - Vector3f { x : delta , y : delta , z : delta , } , b . p_max + Vector3f { x : delta , y : delta , z : delta , } , ) }
Pads the bounding box by a constant factor in all dimensions.
Pads the bounding box by a constant factor in all dimensions .
b
&Bounds3f
delta
Float