}
// render the polygon and the circle
Drawer.draw(drawable, (Polygon)this.shapes[0], (Circle)this.shapes[1], false);
gl.glPopAttrib(); // pop attributes to restore
//gl.glPushAttrib(GL2.GL_CURRENT_BIT); // push attributes to set scope of color changes
if(((Polygon)this.shapes[0]).vertices().size()>2){
//color = this.shapes[0].getColor();
//gl.glColor3f(color.getRed(),color.getGreen(),color.getBlue());