diff options
author | quou <quou@disroot.org> | 2023-05-02 21:02:04 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-02 21:02:04 +1000 |
commit | c1efdf9b0875f2a39488a86cd838947a24fab9fc (patch) | |
tree | b459d024fa99029758f8d2f8630470fe6060122e /rect.c |
Initial commit.
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; +} |