00001 #ifndef COLOR_H 00002 #define COLOR_H 00003 00004 namespace glot { 00005 00006 class color { 00007 00008 public: 00009 00016 color(double red = 0, double green = 0, double blue = 0, double alpha = 1) : r(red), g(green), b(blue), a(alpha) {}; 00017 00019 double r; 00020 00022 double g; 00023 00025 double b; 00026 00028 double a; 00029 00030 }; 00031 00032 } 00033 00034 #endif