| 280 | Vec pos; |
| 281 | Vec size; |
| 282 | Rect() {} |
| 283 | Rect(Vec pos, Vec size) : pos(pos), size(size) {} |
| 284 | Rect(float posX, float posY, float sizeX, float sizeY) : pos(Vec(posX, posY)), size(Vec(sizeX, sizeY)) {} |
| 285 | static Rect fromMinMax(Vec a, Vec b) { return Rect(a, b.minus(a)); } |
no test coverage detected