| 454 | } |
| 455 | |
| 456 | static uint32_t FindNodeIndex(cgltf_node* node, uint32_t nodes_count, cgltf_node* nodes) |
| 457 | { |
| 458 | for (uint32_t i = 0; i < nodes_count; ++i) |
| 459 | { |
| 460 | if (&nodes[i] == node) |
| 461 | return i; |
| 462 | } |
| 463 | assert(false && "Failed to find node in list of nodes"); |
| 464 | return INVALID_INDEX; |
| 465 | } |
| 466 | |
| 467 | static Node* TranslateNode(cgltf_node* node, cgltf_data* gltf_data, Scene* scene) |
| 468 | { |
no test coverage detected