expand
Expands this bounding box by the given x, y, and z amounts and returns the result.
This differs from inflating in that it will only change either the minimum or maximum value of any given axis, not both. An inflation changes the area of the bounding box but does not change the center, an expansion changes the area and the center.
If any of the values are negative, the minimum value will be increased on the respective axis, otherwise the maximum value will be increased.
Return
the resulting box
Parameters
x
the X amount to expand by
y
the Y amount to expand by
z
the Z amount to expand by
Expands this bounding box by the given amount and returns the result.
Return
the resulting box
Parameters
amount
the amount to expand by