RwSetClumpVertexNormal(RwClump *clump, RwInt32 index, RwV3d *normal);
Description
Sets the unit shading normal at the vertex which belongs to clump and has the vertex index index.
Arguments
clump Pointer to the clump.
index The vertex index.
normal Pointer to the vector that specifies the unit shading normal.
Return Value
The argument clump if successful, and NULL otherwise.
Comments
By default, RenderWare automatically calculates unit shading normals. When a clump is read, created or edited the unit shading normals are recalculated. However, In addition to setting the normal, RwSetClumpVertexNormal() suspends automatic recalculation of the normal at the specified vertex.
To enable automatic recalculation of the normal at a vertex use RwCalculateClumpVertexNormal().
See Also