Obb3.copy constructor

Obb3.copy(Obb3 other)

Create a new OBB as a copy of other.

Implementation

Obb3.copy(Obb3 other)
    : _center = new Vector3.copy(other._center),
      _halfExtents = new Vector3.copy(other._halfExtents),
      _axis0 = new Vector3.copy(other._axis0),
      _axis1 = new Vector3.copy(other._axis1),
      _axis2 = new Vector3.copy(other._axis2);