projects
/
winnie
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bug fixes, added background image
[winnie]
/
src
/
geom.h
diff --git
a/src/geom.h
b/src/geom.h
index
c294b54
..
203914a
100644
(file)
--- a/
src/geom.h
+++ b/
src/geom.h
@@
-4,12
+4,12
@@
struct Rect {
int x, y;
int width, height;
struct Rect {
int x, y;
int width, height;
+
+ Rect();
+ Rect(int x, int y, int w, int h);
};
};
-// TODO probably need to implement something like this:
-/*
Rect rect_union(const Rect &a, const Rect &b);
Rect rect_intersection(const Rect &a, const Rect &b);
Rect rect_union(const Rect &a, const Rect &b);
Rect rect_intersection(const Rect &a, const Rect &b);
-*/
#endif // GEOM_H_
#endif // GEOM_H_