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

Function TranslateNode

engine/modelc/src/modelimporter_gltf.cpp:467–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

465}
466
467static Node* TranslateNode(cgltf_node* node, cgltf_data* gltf_data, Scene* scene)
468{
469 uint32_t index = FindNodeIndex(node, gltf_data->nodes_count, gltf_data->nodes);
470 return &scene->m_Nodes[index];
471}
472
473
474static Skin* FindSkin(Scene* scene, cgltf_data* gltf_data, cgltf_skin* gltf_skin)

Callers 4

LoadNodesFunction · 0.85
LinkNodesWithBonesFunction · 0.85
CountAnimatedNodesFunction · 0.85
LoadAnimationsFunction · 0.85

Calls 1

FindNodeIndexFunction · 0.85

Tested by

no test coverage detected