RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwGetClumpVertex(RwClump *clump, RwInt32 index, RwV3d *coords);

Description

Retrieves the object space coordinates of the vertex which belongs to clump and has the vertex index index.

Arguments

clump Pointer to the clump.

index The vertex index.

coords Pointer to the point that will receive the vertex’s position (in object space coordinates).

Return Value

The argument coords if successful, and NULL otherwise.

Comments

The vertex index must be an integer greater than 0 and less than or equal to the number of vertices that belong to the clump.

See Also

RwGetClumpVertexNormal()

RwGetClumpVertexUV()

RwSetClumpVertex()

RwSetClumpVertices()