Added a TexturePolygon class that allows you to apply a texture on a polygon.