| 1267 | { |
| 1268 | |
| 1269 | Expected<std::vector<NamedMesh>> fromSceneObjFile( const std::filesystem::path& file, bool combineAllObjects, |
| 1270 | const ObjLoadSettings& settings /*= {}*/ ) |
| 1271 | { |
| 1272 | std::ifstream in( file, std::ios::binary ); |
| 1273 | if ( !in ) |
| 1274 | return unexpected( std::string( "Cannot open file for reading " ) + utf8string( file ) ); |
| 1275 | |
| 1276 | return addFileNameInError( fromSceneObjFile( in, combineAllObjects, file.parent_path(), settings ), file ); |
| 1277 | } |
| 1278 | |
| 1279 | Expected<std::vector<NamedMesh>> fromSceneObjFile( std::istream& in, bool combineAllObjects, const std::filesystem::path& dir, |
| 1280 | const ObjLoadSettings& settings /*= {}*/ ) |
no test coverage detected