tint2/src/util/color.h

12 lines
266 B
C
Raw Normal View History

2016-10-02 20:56:48 +00:00
#ifndef COLOR_H
#define COLOR_H
typedef struct Color {
2017-04-13 12:07:23 +00:00
// Values are in [0, 1], with 0 meaning no intensity.
double rgb[3];
// Values are in [0, 1], with 0 meaning fully transparent, 1 meaning fully opaque.
double alpha;
2016-10-02 20:56:48 +00:00
} Color;
#endif // COLOR_H