aboutsummaryrefslogtreecommitdiff
path: root/rect.h
diff options
context:
space:
mode:
Diffstat (limited to 'rect.h')
-rw-r--r--rect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/rect.h b/rect.h
index 5c89aec..40f5e4e 100644
--- a/rect.h
+++ b/rect.h
@@ -5,6 +5,8 @@ typedef struct Rect {
int x, y, w, h;
} Rect;
+int rects_overlap(const Rect* a, const Rect* b);
+int point_rect_overlap(const Rect* r, int px, int py);
Rect* rect_clip(Rect* r, const Rect* c);
Rect* rect_clipr(Rect* r, const int* c);
Rect* rect_clips(Rect* r, Rect* s, const Rect* c);