| 106 | } // end of namespace Assimp |
| 107 | |
| 108 | static void create_embedded_textures_folder(const aiScene *scene, IOSystem *pIOSystem, const std::string &texturesPath) { |
| 109 | if (scene->mNumTextures > 0) { |
| 110 | if (!pIOSystem->Exists(texturesPath)) { |
| 111 | if (!pIOSystem->CreateDirectory(texturesPath)) { |
| 112 | throw DeadlyExportError("Could not create textures/ directory."); |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | PbrtExporter::PbrtExporter( |
| 119 | const aiScene *pScene, IOSystem *pIOSystem, |
no test coverage detected