Box2(Vector2? min, Vector2? max) { this.min = (min != null) ? min : Vector2(Infinity, Infinity); this.max = (max != null) ? max : Vector2(-Infinity, -Infinity); }