| 572 | } // namespace |
| 573 | |
| 574 | void Model::forEachRootNodeInScene( |
| 575 | int32_t sceneID, |
| 576 | std::function<ForEachRootNodeInSceneCallback>&& callback) { |
| 577 | return const_cast<const Model*>(this)->forEachRootNodeInScene( |
| 578 | sceneID, |
| 579 | [&callback](const Model& gltf, const Node& node) { |
| 580 | callback(const_cast<Model&>(gltf), const_cast<Node&>(node)); |
| 581 | }); |
| 582 | } |
| 583 | |
| 584 | void Model::forEachRootNodeInScene( |
| 585 | int32_t sceneID, |
no test coverage detected