Public Member Functions | |
Color (float r, float g, float b, float a=1.f) | |
Color (const Color &other) | |
const float & | operator[] (unsigned int i) const |
float & | operator[] (unsigned int i) |
Color & | operator= (const Color &other) |
Public Attributes | |
union { | |
struct { | |
float m [4] | |
} | |
struct { | |
float r | |
float g | |
float b | |
float a | |
} | |
}; | |