hi, i need some help to try and make many objects appear where they are all a certain distance away from each other all along the x axis, at the moment i have this code, but it just makes one long object not separate ones, can anyone help?
for(int i = 0; i < 10; i++)
{
glPushMatrix();
glTranslatef(i * 10,0.0,0.0);
drawObject();
glPopMatrix();
}