void ScaleColor(const Color &source, float flScale, Color &result)
Scale all four components of a colour by one factor.
void AddColor(const Color &left, const Color &right, Color &result)
Add two colours component by component.
void SubColor(const Color &left, const Color &right, Color &result)
Subtract one colour from another component by component.
void ClampColorToUnitRange(const Color &source, Color &result)
Clamp all four components of a colour to the unit range.
Linear colour with four float components.
Definition color.h:10
float b
Definition color.h:13
float r
Definition color.h:11
float g
Definition color.h:12
float a
Definition color.h:14