*in progress*
[winnie] / src / geom.h
1 #ifndef GEOM_H_
2 #define GEOM_H_
3
4 struct Rect {
5         mutable int x, y;
6         int width, height;
7 };
8
9 Rect rect_union(const Rect &a, const Rect &b);
10 Rect rect_intersection(const Rect &a, const Rect &b);
11
12 #endif  // GEOM_H_