make vec4 and matrix types internal

This commit is contained in:
veclavtalica
2025-01-10 02:40:52 +03:00
parent 951d9c76c8
commit 83e2dc5468
5 changed files with 21 additions and 25 deletions

View File

@ -22,16 +22,6 @@ typedef struct Vec3 {
} Vec3;
/* a point in some three dimension space (floating point) */
/* y goes up, x goes to the right */
typedef struct Vec4 {
float x;
float y;
float z;
float w;
} Vec4;
/* 32-bit color data */
typedef struct Color {
uint8_t r;
@ -49,10 +39,5 @@ typedef struct Rect {
float h;
} Rect;
/* TODO: remove from here? */
typedef struct Matrix4 {
Vec4 row[4];
} Matrix4;
#endif