C4 Engine
C4 Engine API Documentation

Mesh::BuildNormalArray

Defined in:  C4Mesh.h
Builds the array of normal vectors for a mesh.
Prototype

void BuildNormalArray(const Mesh *inputMesh);

Parameters
inputMesh The input mesh.
Description
The BuildNormalArray function adds a normal array to a mesh. The vertex and primitive information in the input mesh is used to a calculate normal vector for each vertex. All other array data from the input mesh is copied to the output mesh.
See Also

Mesh::BuildTangentArray