Cleaned up API for drawing polygons and triangles