diff options
Diffstat (limited to 'rect.c')
-rw-r--r-- | rect.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,10 @@ +#include "rect.h" + +Rectangle make_rect(int x, int y, int w, int h) { + Rectangle r; + r.x = x; + r.y = y; + r.w = w; + r.h = h; + return r; +} |