RenderWare V2.1

Previous Page Index Next Page

RwImmPolygon3d *

RwGetClumpImmPolygon(RwClump *clump, RwInt32 index);

Description

Returns an immediate mode polygon structure for a polygon in a clump.

Arguments

clump Pointer to clump of interest.

index Polygon index.

Return Value

Pointer to an immediate mode polygon on success, NULL otherwise.

Comments

This function only works with clumps made up of triangles, as immediate mode only deals with triangles. If this function is tried on a clump not made up from triangles NULL will be returned.

See Also

RwGetClumpImmVertex()