diff options
Diffstat (limited to 'rect.h')
-rw-r--r-- | rect.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |