diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-10-16 08:54:21 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-10-16 08:54:21 +0200 |
commit | 5cbff06ff9153f7a7958202a777d98ebeae59393 (patch) | |
tree | e472c74f486e9d3c877a2fb8044ca781b05396b8 /include/mgl/system/vec.h | |
parent | 1952897a8cb411d9b10d75ac6a8c223924c07e09 (diff) |
Cursor motion
Diffstat (limited to 'include/mgl/system/vec.h')
-rw-r--r-- | include/mgl/system/vec.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mgl/system/vec.h b/include/mgl/system/vec.h new file mode 100644 index 0000000..8b87376 --- /dev/null +++ b/include/mgl/system/vec.h @@ -0,0 +1,12 @@ +#ifndef MGL_VEC_H +#define MGL_VEC_H + +typedef struct { + float x, y; +} mgl_vec2f; + +typedef struct { + int x, y; +} mgl_vec2i; + +#endif /* MGL_VEC_H */ |