summaryrefslogtreecommitdiff
path: root/source/kit/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/kit/math.h')
-rw-r--r--source/kit/math.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/kit/math.h b/source/kit/math.h
index 3a55276..d7044f1 100644
--- a/source/kit/math.h
+++ b/source/kit/math.h
@@ -14,6 +14,7 @@
// 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;