implemented Polygon.cs with vbos