- glBegin(GL_TRIANGLE_FAN);
- glTexCoord(coords[0], coords[1]);
- glVertex(position[0]-s, position[1]-s);
- glTexCoord(coords[2], coords[3]);
- glVertex(position[0]+s, position[1]-s);
- glTexCoord(coords[4], coords[5]);
- glVertex(position[0]+s, position[1]+s);
- glTexCoord(coords[6], coords[7]);
- glVertex(position[0]-s, position[1]+s);
- glEnd();