Files
djstdlib/gfx/Color.h
2026-06-04 18:22:30 +02:00

18 lines
407 B
C

#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