C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

GeometryLevel::BuildEdgeArray

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

void BuildEdgeArray(const GeometryLevel *inputLevel);

Parameters
geometryLevel The input geometry level.
Description
The BuildEdgeArray function adds an edge array to a geometry level. The vertex and face information in the input geometry level is used to determine the set of all edges for a geometry level, and these are stored in the edge array. All other array data from the input geometry level is copied to the output geometry level.
See Also

GeometryLevel::BuildPlaneArray

GeometryLevel::BuildNormalArray

GeometryLevel::BuildTangentArray