c294b545ad08584eb1664c1903c2c427a4411a9c
[winnie] / src / geom.h
1 #ifndef GEOM_H_
2 #define GEOM_H_
3
4 struct Rect {
5         int x, y;
6         int width, height;
7 };
8
9 // TODO probably need to implement something like this:
10 /*
11 Rect rect_union(const Rect &a, const Rect &b);
12 Rect rect_intersection(const Rect &a, const Rect &b);
13 */
14
15 #endif  // GEOM_H_