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