Public Member Functions | |
Colour (REAL r, REAL g, REAL b) | |
Colour (ePlayerNetID *player) | |
void | blend (REAL factor, const Colour &target) |
void | toGl () const |
Public Attributes | |
REAL | cp [3] |
Static Public Attributes | |
static const Colour | white |
static const Colour | black |
Definition at line 3803 of file gCycle.cpp.
gLaggometer::Colour::Colour | ( | ePlayerNetID * | player | ) | [inline] |
Definition at line 3821 of file gCycle.cpp.
Referenced by gLaggometer::AxesIndicator::AxesIndicator().
03822 { 03823 for (int i=0; i<3; i++) { 03824 cp[i] = (1 - factor) * cp[i] + factor * target.cp[i]; 03825 }
void gLaggometer::Colour::toGl | ( | ) | const [inline] |
Definition at line 3826 of file gCycle.cpp.
Referenced by gLaggometer::LagOMeterRenderer::render().
Definition at line 3805 of file gCycle.cpp.
const Colour gLaggometer::Colour::white [static] |
Definition at line 3828 of file gCycle.cpp.
Referenced by gLaggometer::AxesIndicator::AxesIndicator().
const Colour gLaggometer::Colour::black [static] |
Definition at line 3829 of file gCycle.cpp.