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

Function OutputModel

engine/modelc/src/modelimporter_debug.cpp:416–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414}
415
416static void OutputModel(Model* model, int indent)
417{
418 OutputIndent(indent);
419 printf("%s meshes count: %u", model->m_Name, model->m_Meshes.Size());
420 if (model->m_ParentBone)
421 {
422 printf(" bone: %s", model->m_ParentBone->m_Name);
423 }
424 printf("\n");
425 for (uint32_t i = 0; i < model->m_Meshes.Size(); ++i)
426 {
427 Mesh* mesh = &model->m_Meshes[i];
428 OutputMesh(mesh, indent+1);
429 }
430}
431
432static void OutputNodeAnimation(NodeAnimation* node_animation, int indent)
433{

Callers 1

DebugSceneFunction · 0.85

Calls 3

OutputIndentFunction · 0.85
OutputMeshFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected