diff options
Diffstat (limited to 'include/vec2.h')
-rw-r--r-- | include/vec2.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/vec2.h b/include/vec2.h new file mode 100644 index 0000000..8fd3858 --- /dev/null +++ b/include/vec2.h @@ -0,0 +1,16 @@ +#ifndef VEC2_H +#define VEC2_H + +typedef struct { + int x, y; +} vec2i; + +typedef struct { + float x, y; +} vec2f; + +typedef struct { + double x, y; +} vec2d; + +#endif /* VEC2_H */ |