right now c++ is giving me this error: error C2087 'color' missing subscript first time i get this and i dont know what to do >.< hope any1 can help me
struct Color{
float r;
float g;
float b;
};
Color color[][];
and im using it here
for(int i=0;i<cubes;i++)
{
color[i][0].r = fRand();color[i][0].g=fRand(.5);color[i][0].b=fRand();
...etc