RenderWare V2.1

Previous Page Index Next Page

RwInt32

RwGetPolygonNumSides(RwPolygon3d *polygon);

Description

Retrieves the number of sides of the polygon.

Arguments

polygon Pointer to the polygon.

Return Value

The number of sides of the polygon if successful, and 0 otherwise.

See Also

RwGetPolygonVertices()