A fragment shader function to draw regular polygons in OpenGL ES 2.0