This commit is contained in:
bjorn 2022-03-21 17:00:30 -07:00
parent 339f75f579
commit 64f7c49a0f
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#define MIN(a, b) (a < b ? a : b)
#define CLAMP(x, min, max) MAX(min, MIN(max, x))
#define ALIGN(p, n) (((uintptr_t) (p) + (n - 1)) & ~(n - 1))
#define COUNTOF(x) (sizeof(x) / sizeof(x[0]))
#define CHECK_SIZEOF(T) int(*_o)[sizeof(T)]=1
typedef struct Color { float r, g, b, a; } Color;