OESetupBoxCenterAndExtents

bool OESetupBoxCenterAndExtents(OEBox& box, const float* center, const float* extents)

Sets up box using a center coordinate and the dimension of the box.

box

Box to setup

center

A length 3 array holds the coordinate of the box center

extends

A length 3 array holding the x, y and z dimensions of the box.

Returns true if setup was successful.