copy method

dynamic copy(
  1. dynamic obb
)

Implementation

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

  return this;
}