Use struct for vec3_t instead of array

This commit is contained in:
Camden Dixie O'Brien committed 2025-09-27 22:53:52 +01:00
1 parent 7f4dffc7fb
commit 6a5dba2600
1 file changed
+4 -1
+4 -1
View File
@@ -6,9 +6,12 @@
#define SWAPCHAIN_IMG_BUFFER_SIZE 4
typedef float vec3_t[3];
typedef float mat4_t[16];
typedef struct {
float x, y, z;
} vec3_t;
typedef struct {
vec3_t position;
vec3_t colour;