maintenant C++ me donne cette erreur: erreur C2087 'couleur' indice manquant première fois je reçois ceci et je ne sais pas quoi faire>. < espoir any1 peut me aiderindice manquant C++
struct Color{
float r;
float g;
float b;
};
Color color[][];
et im en utilisant ici
for(int i=0;i<cubes;i++)
{
color[i][0].r = fRand();color[i][0].g=fRand(.5);color[i][0].b=fRand();
... etc
ok c'était tyvm – Makenshi