summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/kit/math.h5
-rw-r--r--source/kit/types.h4
2 files changed, 5 insertions, 4 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;
diff --git a/source/kit/types.h b/source/kit/types.h
index cbb9a71..bbe8717 100644
--- a/source/kit/types.h
+++ b/source/kit/types.h
@@ -26,8 +26,8 @@ typedef double f64;
// chars
//
-typedef signed char c8;
-typedef signed int c32;
+typedef char c8;
+typedef int c32;
typedef signed char b8; // 8-bit boolean
typedef signed int b32; // 32-bit boolean