From c1efdf9b0875f2a39488a86cd838947a24fab9fc Mon Sep 17 00:00:00 2001 From: quou Date: Tue, 2 May 2023 21:02:04 +1000 Subject: Initial commit. --- rect.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rect.c (limited to 'rect.c') diff --git a/rect.c b/rect.c new file mode 100644 index 0000000..ec755e2 --- /dev/null +++ b/rect.c @@ -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; +} -- cgit v1.2.3-54-g00ecf