diff options
Diffstat (limited to 'lib/types.h')
| -rw-r--r-- | lib/types.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/types.h b/lib/types.h index 8618df9..bf42576 100644 --- a/lib/types.h +++ b/lib/types.h @@ -1,3 +1,10 @@ +#ifndef _TYPES_H +#define _TYPES_H + +#include <stdbool.h> +#include <stddef.h> +#include <stdint.h> + typedef struct { float x; float y; @@ -10,3 +17,5 @@ vec2 dp_vec2_mul(vec2, float scalar); vec2 dp_vec2_dot(vec2, vec2); float dp_vec2_length(vec2); vec2 dp_vec2_normal(vec2); + +#endif |
