RGBColor

class ooc::RGBColor

A generic color class for storing RGB information.

Index

Methods

Variables

Methods

ooc::RGBColor::RGBColor()

Constructs an invalid RGB color.

ooc::RGBColor::RGBColor(float red, float green, float blue)

Constructs an RGB color.

bool ooc::RGBColor::IsValid() const

const

Returns whether or not the current color is valid.

Variables

float ooc::RGBColor::r
float
float ooc::RGBColor::g
float
float ooc::RGBColor::b
float