MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / OptimizeIndices

Function OptimizeIndices

src/Nazara/Utility/AlgorithmUtility.cpp:1050–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048 /**********************************Optimize*********************************/
1049
1050 void OptimizeIndices(IndexIterator indices, unsigned int indexCount)
1051 {
1052 VertexCacheOptimizer optimizer;
1053 if (optimizer.Optimize(indices, indexCount) != VertexCacheOptimizer::Success)
1054 NazaraWarning("Indices optimizer failed");
1055 }
1056
1057 /************************************Skin***********************************/
1058

Callers 1

OptimizeMethod · 0.85

Calls 1

OptimizeMethod · 0.45

Tested by

no test coverage detected