Obb3.centerExtentsAxes constructor Null safety

Obb3.centerExtentsAxes(
  1. Vector3 center,
  2. Vector3 halfExtents,
  3. Vector3 axis0,
  4. Vector3 axis1,
  5. 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 = Vector3.copy(center),
      _halfExtents = Vector3.copy(halfExtents),
      _axis0 = Vector3.copy(axis0),
      _axis1 = Vector3.copy(axis1),
      _axis2 = Vector3.copy(axis2);