copy method

OBB copy(
  1. OBB obb
)

Copies all values from the given OBB to this OBB.

Implementation

OBB copy(OBB obb ) {
	center.copy( obb.center );
	halfSizes.copy( obb.halfSizes );
	rotation.copy( obb.rotation );

	return this;
}