summaryrefslogtreecommitdiff
path: root/src/colours.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/colours.h')
-rw-r--r--src/colours.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/colours.h b/src/colours.h
index a981c6c..ac8996a 100644
--- a/src/colours.h
+++ b/src/colours.h
@@ -13,6 +13,7 @@ typedef struct rgba {
#define COLOUR_WHITE ((rgba){ 1.0, 1.0, 1.0, 1.0 })
#define rgba_to_vec4(color) (vec4(color.r, color.g, color.b, color.a))
+#define rgba_to_vec3(color) (vec3(color.r, color.g, color.b))
// Thanks ChatGPT
#define STONE_50 ((rgba){ 0.980, 0.980, 0.976, 1.0 })