Obb3.copy constructor

Obb3.copy(
  1. Obb3 other
)

Create a new OBB as a copy of other.

Implementation

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