GeometryLevel::BuildPlaneArray
Defined in: C4GeometryLevel.h
Builds the array of unique planes for a geometry level.
Prototype
void BuildPlaneArray(const GeometryLevel *inputLevel);
Parameters
geometryLevel |
The input geometry level.
|
Description
The BuildPlaneArray function adds a plane array and a plane index array to a geometry level. The vertex and face information in the input geometry level is used to determine the set of unique planes for a geometry level, and these are stored in the plane array. The plane index array maps each face to the plane that it lies in. All other array data from the input geometry level is copied to the output geometry level.
See Also
GeometryLevel::BuildEdgeArray
GeometryLevel::BuildNormalArray
GeometryLevel::BuildTangentArray
|