adding gfx and ui stuff
This commit is contained in:
17
gfx/Color.h
Normal file
17
gfx/Color.h
Normal 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
|
||||
Reference in New Issue
Block a user