adding gfx and ui stuff

This commit is contained in:
Daniel Ledda
2026-06-04 18:22:30 +02:00
parent d676c50961
commit 4dfac3f82f
48 changed files with 26734 additions and 3 deletions

17
gfx/Color.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef COLOR_H
#define COLOR_H
#include "../core.h"
#define COLOR_BLACK (Vec4){0, 0, 0, 1}
#define COLOR_RED (Vec4){1, 0, 0, 1}
#define COLOR_GREEN (Vec4){0, 1, 0, 1}
#define COLOR_BLUE (Vec4){0, 0, 1, 1}
#define COLOR_MAGENTA (Vec4){1, 0, 1, 1}
#define COLOR_YELLOW (Vec4){1, 1, 0, 1}
#define COLOR_CYAN (Vec4){0, 1, 1, 1}
#define COLOR_WHITE (Vec4){1, 1, 1, 1}
Vec4 colorFromIndex(int index);
#endif