Mesh::BuildNormalArray
Defined in:
Builds the array of normal vectors for a mesh.
C4Mesh.h
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