Someone
public text v1 · immutable for (int m=0;m<10;m++)
{
for (int j=0;j<10;j++)
{
for (int i=0;i<10;i++)
{
glTranslatef(4, 0, 0); // przesun żółwia o kostke w prawo
glPushMatrix();
Rotate();
glColor3f(i*0.1f,j*0.1f,m*0.1f);
//glColor3f(0,0,0);
model(); //nasraj kostke
glPopMatrix();
}
glTranslatef(-40, -5, 0.0f); //cofnij do poczatku wiersza i 1 w dół
}
glTranslatef(0, 50, -4.0f);
}