C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

GeometryLevel::BuildNormalArray

Defined in:  C4GeometryLevel.h
Builds the array of normal vectors for a geometry level.
Prototype

void BuildNormalArray(const GeometryLevel *inputLevel);

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

GeometryLevel::BuildTangentArray

GeometryLevel::BuildPlaneArray

GeometryLevel::BuildEdgeArray