OBB constructor

OBB([
  1. Vector3? center,
  2. Vector3? halfSizes,
  3. Matrix3? rotation
])

Constructs a OBB with the given values.

Implementation

OBB( [Vector3? center, Vector3? halfSizes, Matrix3? rotation] ) {
	this.center = center ?? Vector3();
	this.halfSizes = halfSizes ?? Vector3();
	this.rotation = rotation ?? Matrix3();
}