Danny Robson
e5d99b3370
use tags for the core coordinate structures to specify what names should be used for the data variables (in the data union)
14 lines
295 B
C++
14 lines
295 B
C++
#include "colour.hpp"
|
|
|
|
#include "debug.hpp"
|
|
|
|
int
|
|
main (int, char**)
|
|
{
|
|
// Simple check for symbol visibility
|
|
CHECK_EQ (util::colour4f::WHITE.r, 1.f);
|
|
CHECK_EQ (util::colour4f::WHITE.g, 1.f);
|
|
CHECK_EQ (util::colour4f::WHITE.b, 1.f);
|
|
CHECK_EQ (util::colour4f::WHITE.a, 1.f);
|
|
}
|