| 99 | } |
| 100 | |
| 101 | std::string getThreeMaterialId(const std::string& materialName, std::map<std::string, std::string>& materialMap) { |
| 102 | auto it = materialMap.find(materialName); |
| 103 | if (it != materialMap.end()) { |
| 104 | return it->second; |
| 105 | } |
| 106 | |
| 107 | it = materialMap.find("Undefined"); |
| 108 | if (it != materialMap.end()) { |
| 109 | return it->second; |
| 110 | } |
| 111 | OS_ASSERT(false); |
| 112 | return ""; |
| 113 | } |
| 114 | |
| 115 | std::vector<ThreeMaterial> makeStandardThreeMaterials() { |
| 116 | std::vector<ThreeMaterial> result; |
no test coverage detected