MCPcopy Create free account
hub / github.com/defold/defold / OutputNodeTree

Function OutputNodeTree

engine/modelc/src/modelimporter_debug.cpp:128–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static void OutputNodeTree(Node* node, int indent)
129{
130 OutputIndent(indent);
131 printf("%s: ", node->m_Name);
132 if (node->m_Skin)
133 printf("skin: %s", node->m_Skin->m_Name);
134 printf("\n");
135
136
137 for (uint32_t i = 0; i < node->m_Children.Size(); ++i)
138 {
139 OutputNodeTree(node->m_Children[i], indent+1);
140 }
141}
142
143template <int N>
144static void OutputArray(const char* name, float (&p)[N], int indent)

Callers 1

DebugSceneFunction · 0.85

Calls 2

OutputIndentFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected