MCPcopy Create free account
hub / github.com/assimp/assimp / GetNodeCount

Function GetNodeCount

tools/assimp_view/Display.cpp:96–102  ·  view source on GitHub ↗

------------------------------------------------------------------------------- Recursively count the number of nodes in an asset's node graph Used by LoadAsset() -------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

94// Used by LoadAsset()
95//-------------------------------------------------------------------------------
96void GetNodeCount(aiNode* pcNode, unsigned int* piCnt)
97{
98 *piCnt = *piCnt+1;
99 for (unsigned int i = 0; i < pcNode->mNumChildren; ++i) {
100 GetNodeCount(pcNode->mChildren[i], piCnt);
101 }
102}
103
104//-------------------------------------------------------------------------------
105int CDisplay::EnableAnimTools(BOOL hm) {

Callers 1

FillDefaultStatisticsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected