Describe default behavior of mtl_basedir.

This commit is contained in:
Syoyo Fujita
2016-11-23 17:17:35 +09:00
parent 9868630d0e
commit aa4dabe64f

View File

@@ -296,6 +296,7 @@ class MaterialStreamReader : public MaterialReader {
/// Returns true when loading .obj become success.
/// Returns warning and error message into `err`
/// 'mtl_basedir' is optional, and used for base directory for .mtl file.
/// In default(`NULL'), .mtl file is searched from an application's working directory.
/// 'triangulate' is optional, and used whether triangulate polygon face in .obj
/// or not.
bool LoadObj(attrib_t *attrib, std::vector<shape_t> *shapes,