RenderWare V2.1

Previous Page Index Next Page

RwClump *

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

Description

Sets the object space position 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 specifies the vertex’s position (in object space coordinates).

Return Value

The argument clump if successful, and NULL otherwise.

Comments

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

As this function modifies the geometry of the clump, the clump is made editable (the rwEDITABLE hint is set) by this function.

See Also

RwGetClumpVertex()

RwSetClumpVertexNormal()

RwSetClumpVertexUV()

RwSetClumpVertices()