VG_Polygon * VG_PolygonNew (VG_Node *parent)
Uint VG_PolygonVertex (VG_Polygon *P, VG_Point *pt)
void VG_PolygonDelVertex (VG_Polygon *P, Uint vtx)
VG_PolygonNew() function creates a new polygon entity attached to
parent, without any vertices.
VG_PolygonVertex() creates a new vertex using the existing
VG_Point(3) pt. The index of the new vertex is returned.
VG_PolygonDelVertex() removes the specified vertex
vtx from the polygon.
The function is a no-op if
vtx is an invalid index.
VG_PolygonSetOutline() disables filling of the polygon such that only its outline is displayed.
Default behavior is to display a filled polygon.