Add red/green/blue static colour definitions
This commit is contained in:
parent
cca9efdc5d
commit
745568db87
@ -29,6 +29,10 @@ using namespace util;
|
||||
const util::colour util::colour::WHITE ({ 1.0, 1.0, 1.0, 1.0 });
|
||||
const util::colour util::colour::BLACK ({ 0.0, 0.0, 0.0, 1.0 });
|
||||
|
||||
const util::colour util::colour::RED ({ 1.0, 0.0, 0.0, 1.0 });
|
||||
const util::colour util::colour::GREEN ({ 0.0, 1.0, 0.0, 1.0 });
|
||||
const util::colour util::colour::BLUE ({ 0.0, 0.0, 1.0, 1.0 });
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
const json::node&
|
||||
|
@ -34,6 +34,9 @@ namespace util {
|
||||
|
||||
static const colour WHITE;
|
||||
static const colour BLACK;
|
||||
static const colour RED;
|
||||
static const colour BLUE;
|
||||
static const colour GREEN;
|
||||
};
|
||||
|
||||
template <> colour& randomise (colour&);
|
||||
|
Loading…
Reference in New Issue
Block a user