Returns the infinite Rect. */
| 317 | } |
| 318 | /** Returns the infinite Rect. */ |
| 319 | static Rect inf() { |
| 320 | return Rect(Vec(-INFINITY, -INFINITY), Vec(INFINITY, INFINITY)); |
| 321 | } |
| 322 | |
| 323 | /** Returns whether this Rect contains a point, inclusive on the left/top, exclusive on the right/bottom. |
| 324 | Correctly handles infinite Rects. |