diff options
Diffstat (limited to 'source/kit/math.h')
-rw-r--r-- | source/kit/math.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/kit/math.h b/source/kit/math.h index f4ab33a..d7044f1 100644 --- a/source/kit/math.h +++ b/source/kit/math.h @@ -13,7 +13,8 @@ // TODO // - Gamma correction. -// +// - Custom prefixes +// - Unnecesary XYZ scaling. #ifdef __cplusplus extern "C" { @@ -39,11 +40,11 @@ extern "C" { typedef KIT_VEC_TYPE vec_t; -typedef union { +typedef struct { vec_t v[2]; } vec2_t; -typedef union { +typedef struct { vec_t v[3]; } vec3_t; |