------------------------------------------------------------------------------- Recursively count the number of nodes in an asset's node graph Used by LoadAsset() -------------------------------------------------------------------------------
| 94 | // Used by LoadAsset() |
| 95 | //------------------------------------------------------------------------------- |
| 96 | void 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 | //------------------------------------------------------------------------------- |
| 105 | int CDisplay::EnableAnimTools(BOOL hm) { |
no outgoing calls
no test coverage detected