for (vector<cGeom*>::iterator i = this->geoms.begin(); i != this->geoms.end(); i++) { if (1) (*i)->render(); }