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