RwPolygonExt(RwInt32 sides, RwInt32 *vlist, RwInt32 tag);
Description
Adds a polygon with the given integer tag to the current clump under construction. The current material is assigned to the polygon.
Arguments
sides Number of sides of the polygon.
vlist Array of vertex indices.
tag Integer tag to set (only the least significant 16 bits are valid).
Return Value
TRUE if successful, and FALSE otherwise.
Comments
The size of the array vlist must be equal to sides.
This function can only be called within the context of an RwClumpBegin() RwClumpEnd() or RwProtoBegin() RwProtoEnd() block.
For 16-bit applications accessing the RenderWare DLL the vertex index list pointed to by vlist must be declared as an array of RwInt32s and not ints.
See Also
RwQuad()
RwSetTag()
RwVertex()