X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=blobdiff_plain;f=src%2Fvmath.h;h=7e35cc80a4f88e41ad0466dbc30c938e59cd3d39;hp=d8c6be231ff452f0636b43970453ad5142c5a3e6;hb=8001fafbf699a4048046d4393377e3ec83480b95;hpb=c76efec19002adcbe637534a3abddb92014aadc3 diff --git a/src/vmath.h b/src/vmath.h index d8c6be2..7e35cc8 100644 --- a/src/vmath.h +++ b/src/vmath.h @@ -1,6 +1,8 @@ #ifndef VMATH_H_ #define VMATH_H_ +#include + #ifdef __GNUC__ #define INLINE __inline @@ -11,6 +13,7 @@ #define INLINE #endif +typedef struct { float x, y; } vec2_t; typedef struct { float x, y, z; } vec3_t; typedef struct { float x, y, z, w; } vec4_t;