Obb3.centerExtentsAxes constructor

Obb3.centerExtentsAxes(Vector3 center Vector3 halfExtents Vector3 axis0 Vector3 axis1 Vector3 axis2)

Create a new OBB using center, halfExtents and axis.

Implementation

Obb3.centerExtentsAxes(Vector3 center, Vector3 halfExtents, Vector3 axis0,
    Vector3 axis1, Vector3 axis2)
    : _center = new Vector3.copy(center),
      _halfExtents = new Vector3.copy(halfExtents),
      _axis0 = new Vector3.copy(axis0),
      _axis1 = new Vector3.copy(axis1),
      _axis2 = new Vector3.copy(axis2);