model2->draw(fcount); for (int x = ((-factor)+1); x< factor; x++) for (int y = ((-factor)+1); y<factor; y++) { glPushMatrix(); glTranslatef(x*3,0,y*3); glRotatef(rot,0.0f,1.0f,0.0f); pModel->draw(fcount); glPopMatrix(); }
and printing
...Ninjas: " <<(((factor-1)*2)*((factor-1)*2)+1) ;
i guess i just never checked it or really cared but htanx for pointing it out, factor is what u adjust with home and end