copy method

dynamic copy(
  1. dynamic obb
)

Implementation

copy(obb) {
  center.copy(obb.center);
  halfSize.copy(obb.halfSize);
  rotation.copy(obb.rotation);

  return this;
}