We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
mtl_basedir
1 parent 9868630 commit aa4dabeCopy full SHA for aa4dabe
tiny_obj_loader.h
@@ -296,6 +296,7 @@ class MaterialStreamReader : public MaterialReader {
296
/// Returns true when loading .obj become success.
297
/// Returns warning and error message into `err`
298
/// 'mtl_basedir' is optional, and used for base directory for .mtl file.
299
+/// In default(`NULL'), .mtl file is searched from an application's working directory.
300
/// 'triangulate' is optional, and used whether triangulate polygon face in .obj
301
/// or not.
302
bool LoadObj(attrib_t *attrib, std::vector<shape_t> *shapes,
0 commit comments