Opengl render and font

This commit is contained in:
Krzosa Karol
2024-07-26 14:47:03 +02:00
parent ee6df45e2d
commit def8b6bdc2
5 changed files with 362 additions and 38 deletions

View File

@@ -3,6 +3,34 @@ struct Vec2 {
float y;
};
union Vec4 {
struct {
float x;
float y;
float z;
float w;
};
struct {
float r;
float g;
float b;
float a;
};
};
union Vec3 {
struct {
float x;
float y;
float z;
};
struct {
float r;
float g;
float b;
};
};
struct Rect2 {
Vec2 min;
Vec2 max;