| 9 | namespace { |
| 10 | |
| 11 | std::filesystem::path require_model_root(const std::filesystem::path & model_root) { |
| 12 | if (model_root.empty()) { |
| 13 | throw std::runtime_error("asset model_root is required for model-relative resources"); |
| 14 | } |
| 15 | return model_root; |
| 16 | } |
| 17 | |
| 18 | std::filesystem::path resolve_model_file( |
| 19 | const std::filesystem::path & model_root, |
no test coverage detected