| 41 | bool operator!=(const Rect<T> &other) const { return !(*this == other); } |
| 42 | |
| 43 | Vec2<T> size() const { return Vec2<T>{p1.x - p0.x, p1.y - p0.y}; } |
| 44 | |
| 45 | // Something of an arbitrary order for storing in a set |
| 46 | bool operator<(const Rect<T> &other) const |
no outgoing calls