title: How to fill this hex
body: <p>I have a Hexagon done like this</p>
  
  <pre><code>glEnable(GL_TEXTURE_2D);
  
  //GRASS
  glTexImage2d(GL_TEXTURE_2D,Level,Colorcomps,sGrass,tGrass,Border,GL_RGB,GL_UNSIGNED_BYTE,background);
  glBegin(GL_POLYGON);
      for I := 0 to 6 do
      begin
        glVertex3f(COS(i/6.0*2*PI)/10+offsetx+0.2,SIN(i/6.0*2*pi)/10+offsety,-2);
      end;
  glEnd;
  </code></pre>
  
  <p>how do i now add the coords to add the texture to this?  Only way I have done it before was by setting them for each line.Like so <code>glTexCoord2f(0.0,0.0);</code> Because this is in a for loop i cant do that. Is there another way? or do i have to remove the for loop?</p>