RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetPolygonVertices(RwPolygon3d *polygon, RwInt32 *vlist);

Description

Retrieves the polygon’s vertex indices.

Arguments

polygon Pointer to the polygon.

vlist Pointer to an array of RwInt32s that will receive the vertex indices.

Return Value

The number of vertices if successful, and 0 otherwise.

Comments

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

RwAddPolygonToClump()

RwGetPolygonNumSides()

RwGetPolygonUV()