From aa4dabe64f76640469926465562bd38da3620d5e Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Wed, 23 Nov 2016 17:17:35 +0900 Subject: [PATCH] Describe default behavior of `mtl_basedir`. --- tiny_obj_loader.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tiny_obj_loader.h b/tiny_obj_loader.h index 9ac0977..b975601 100644 --- a/tiny_obj_loader.h +++ b/tiny_obj_loader.h @@ -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 *shapes,