set method

OBB set(
  1. Vector3 center,
  2. Vector3 halfSizes,
  3. Matrix3 rotation
)

Sets the given values to this OBB.

Implementation

OBB set(Vector3 center, Vector3 halfSizes, Matrix3 rotation ) {
	this.center = center;
	this.halfSizes = halfSizes;
	this.rotation = rotation;

	return this;
}