-----------------------------------------------------------------------------------
| 80 | |
| 81 | // ----------------------------------------------------------------------------------- |
| 82 | unsigned int CountNodes(const aiNode *root) { |
| 83 | unsigned int i = 0; |
| 84 | for (unsigned int a = 0; a < root->mNumChildren; ++a) { |
| 85 | i += CountNodes(root->mChildren[a]); |
| 86 | } |
| 87 | return 1 + i; |
| 88 | } |
| 89 | |
| 90 | // ----------------------------------------------------------------------------------- |
| 91 | unsigned int GetMaxDepth(const aiNode *root) { |
no outgoing calls
no test coverage detected