------------------------------------------------------------------------------------------------ Add a name prefix to all nodes in a hierarchy
| 116 | // ------------------------------------------------------------------------------------------------ |
| 117 | // Add a name prefix to all nodes in a hierarchy |
| 118 | void SceneCombiner::AddNodePrefixes(aiNode *node, const char *prefix, unsigned int len) { |
| 119 | ai_assert(nullptr != prefix); |
| 120 | |
| 121 | PrefixString(node->mName, prefix, len); |
| 122 | |
| 123 | // Process all children recursively |
| 124 | for (unsigned int i = 0; i < node->mNumChildren; ++i) { |
| 125 | AddNodePrefixes(node->mChildren[i], prefix, len); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | // ------------------------------------------------------------------------------------------------ |
| 130 | // Search for matching names |
nothing calls this directly
no test coverage detected