OEBoxExtend¶
bool OEBoxExtend(OEBox& box, const float x_ext, const float y_ext, const float z_ext)
Extends each side of the box by the specified amount. x_ext extends the two faces of the box normal to the x-axis. Thus the x dimension of the box will increase by 2 times x_ext. The y_ext and z_ext perform the same function for the y and z faces respectively.
bool OEBoxExtend(OEBox& box, const float ext)
Extends every face of box by ext. Thus every dimension of the box will increase by 2 times ext.