summaryrefslogtreecommitdiff
path: root/source/kit/math.h
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-02-11 18:17:33 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-02-11 18:17:33 +0100
commitdf00df5a7a5bcd9076d4423128ea014ab3535626 (patch)
tree337e62f8ca39b19b250b155a3fbeb495384e356b /source/kit/math.h
parent80da54bb97c279aa60fb77a9bbad9baa0f2e4477 (diff)
downloadsaw-df00df5a7a5bcd9076d4423128ea014ab3535626.zip
Update kit
Diffstat (limited to 'source/kit/math.h')
-rw-r--r--source/kit/math.h7
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;