00001 #ifndef QRK_COLOR_H 00002 #define QRK_COLOR_H 00003 00013 namespace qrk 00014 { 00018 class Color { 00019 public: 00020 float r; 00021 float g; 00022 float b; 00023 float a; 00024 00025 00026 Color(void) : r(0.0), g(0.0), b(0.0), a(1.0) 00027 { 00028 } 00029 00030 00039 Color(float r_, float g_, float b_, float a_ = 1.0f) 00040 : r(r_), g(g_), b(b_), a(a_) 00041 { 00042 } 00043 }; 00044 } 00045 00046 #endif /* !QRK_COLOR_H */