Obb3.centerExtentsAxes constructor
Create a new OBB using center
, halfExtents
and axis.
Implementation
Obb3.centerExtentsAxes(Vector3 center, Vector3 halfExtents, Vector3 axis0,
Vector3 axis1, Vector3 axis2)
: _center = Vector3.copy(center),
_halfExtents = Vector3.copy(halfExtents),
_axis0 = Vector3.copy(axis0),
_axis1 = Vector3.copy(axis1),
_axis2 = Vector3.copy(axis2);