From df00df5a7a5bcd9076d4423128ea014ab3535626 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 11 Feb 2024 18:17:33 +0100 Subject: Update kit --- source/kit/math.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/kit/math.h') 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; -- cgit v1.2.3