diff options
Diffstat (limited to 'lib/types.h')
| -rw-r--r-- | lib/types.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/types.h b/lib/types.h deleted file mode 100644 index bf42576..0000000 --- a/lib/types.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef _TYPES_H -#define _TYPES_H - -#include <stdbool.h> -#include <stddef.h> -#include <stdint.h> - -typedef struct { - float x; - float y; -} vec2; - -vec2 dp_vec2_new(float, float); -vec2 dp_vec2_add(vec2, vec2); -vec2 dp_vec2_sub(vec2, vec2); -vec2 dp_vec2_mul(vec2, float scalar); -vec2 dp_vec2_dot(vec2, vec2); -float dp_vec2_length(vec2); -vec2 dp_vec2_normal(vec2); - -#endif |
