vtdata library
|
Public Member Functions | |
RGBi (short _r, short _g, short _b) | |
RGBi (const class RGBf &v) | |
RGBi (const class RGBAi &v) | |
void | Set (short _r, short _g, short _b) |
RGBi | operator+ (const RGBi &v) const |
RGBi | operator+ (const class RGBAi &v) const |
RGBi | operator- (const RGBi &v) const |
RGBi | operator* (float s) const |
RGBi | operator/ (float s) const |
void | operator*= (float s) |
void | operator/= (float s) |
void | operator+= (const RGBi &v) |
void | operator+= (const class RGBAi &v) |
void | Crop () |
RGBi & | operator= (const RGBi &v) |
RGBi & | operator= (const class RGBf &v) |
RGBi & | operator= (const class RGBAi &v) |
bool | operator== (const RGBi &v) const |
bool | operator!= (const RGBi &v) const |
Public Attributes | |
short | r |
short | g |
short | b |
An RGB class for handling color operations.
This one handles colors with integer components (0-255)