OBB constructor
OBB({
- dynamic center,
- dynamic halfSize,
- dynamic rotation,
Implementation
OBB({center, halfSize, rotation}) {
this.center = center ?? Vector3();
this.halfSize = halfSize ?? Vector3();
this.rotation = rotation ?? Matrix3();
}