RenderWare V2.1

Previous Page Index Next Page

RwV3d *

RwGetClumpVertexNormal(RwClump *clump, RwInt32 index, RwV3d *normal);

Description

Returns the unit shading normal of the vertex which belongs to clump and has vertex index index.

Arguments

clump Pointer to the clump.

index The vertex index.

normal Pointer to the vector that will receive the unit shading normal.

Return Value

The argument normal 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

RwCalculateClumpVertexNormal()

RwGetClumpVertex()

RwGetClumpVertexUV()

RwGetPolygonNormal()

RwSetClumpVertexNormal()

RwVertexExt()