Obb3.copy constructor Null safety
- 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);