32 NormalKey(
float flRed,
float flGreen,
float flBlue);
Colour recorded as its brightest channel and the three channels divided by it.
Definition normalkey.h:17
float mRed
Definition normalkey.h:61
float mGreen
Definition normalkey.h:62
static void InsertUniqueNormalKey(std::vector< NormalKey > &keys, const Color &color)
Add the key of a colour to a set of keys unless the set already has its hue.
float RatioDistance(const NormalKey &other) const
Sum of the absolute differences between this key's ratios and another's.
Definition normalkey.h:56
NormalKey(float flRed, float flGreen, float flBlue)
Build the key of one colour.
float mScale
Definition normalkey.h:60
float mBlue
Definition normalkey.h:63
NormalKey g_normalKeyUnused
Key the unit's static initialiser constructs from (16, 0, 0).
Linear colour with four float components.
Definition color.h:10