| 460 | }; |
| 461 | |
| 462 | class MaterialReader { |
| 463 | public: |
| 464 | MaterialReader() {} |
| 465 | virtual ~MaterialReader(); |
| 466 | |
| 467 | virtual bool operator()(const std::string &matId, |
| 468 | std::vector<material_t> *materials, |
| 469 | std::map<std::string, int> *matMap, std::string *warn, |
| 470 | std::string *err) = 0; |
| 471 | }; |
| 472 | |
| 473 | /// |
| 474 | /// Read .mtl from a file. |
nothing calls this directly
no outgoing calls
no test coverage detected