I'm trying to make an array of colours but unfortunatly Tinker library doesnt seem to support Arrays:
Tinker::Vect3d<float> rndCol[5];
rndCol[0] = {255,0,0};
rndCol[1] = {0,255,0};
rndCol[2] = {0,0,255};
rndCol[3] = {255,165,0};
rndCol[4] = {5,125,200};
(edit: Just realized this would be a multidimensional array if it worked, Is this supported in C++, "rndCol[0][0] = 255;" did not work)
soundLvel:47: error: expected constructor, destructor, or type conversion before '=' token
soundLvel:48: error: expected constructor, destructor, or type conversion before '=' token
soundLvel:49: error: expected constructor, destructor, or type conversion before '=' token
soundLvel:50: error: expected constructor, destructor, or type conversion before '=' token
soundLvel:51: error: expected constructor, destructor, or type conversion before '=' token
So does Arduino support lists or equivalent I can store these in. I cant find anything in the reference.