C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

GeometryLevel::UnifyGeometryLevel

Defined in:  C4GeometryLevel.h
Unifies duplicate vertices in a geometry level.
Prototype

void UnifyGeometryLevel(const GeometryLevel *inputLevel);

Parameters
geometryLevel The input geometry level.
Description
The UnifyGeometryLevel function searches for pairs of vertices in the same surface that have identical positions, normal vectors, and texture coordinates. Duplicates are removed, and index data in the face array is remapped. If there is no normal array, then only position and texture coordinates are considered.
See Also
GeometryLevel::WeldGeometryLevel

GeometryLevel::MendGeometryLevel