diff options
author | Omniscient <omniscient.oce@gmail.com> | 2024-06-15 16:38:05 +1000 |
---|---|---|
committer | Omniscient <omniscient.oce@gmail.com> | 2024-06-15 16:38:05 +1000 |
commit | c5808488875484aca814bfc8e526f37f3f447166 (patch) | |
tree | e560bc86302fad0c8520140511e1994c2b4800d7 /src/colours.h | |
parent | 59f67f04d7238453da766218a37b3c78607fb122 (diff) |
shinchoku
Diffstat (limited to 'src/colours.h')
-rw-r--r-- | src/colours.h | 1 |
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 }) |