1 #ifndef COLOR_H
2 #define COLOR_H
3
4 typedef struct Color {
5 // Values are in [0, 1], with 0 meaning no intensity.
6 double rgb[3];
7 // Values are in [0, 1], with 0 meaning fully transparent, 1 meaning fully opaque.
8 double alpha;
9 } Color;
10
11 #endif // COLOR_H
12