From ee2c734c15980b94886d545d16908be072597cc3 Mon Sep 17 00:00:00 2001 From: tigrazone Date: Wed, 6 Dec 2017 22:44:04 +0200 Subject: [PATCH] refactoring for new speedup release1 --- tiny_obj_loader.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tiny_obj_loader.h b/tiny_obj_loader.h index 18e5bc1..fe40f7a 100644 --- a/tiny_obj_loader.h +++ b/tiny_obj_loader.h @@ -1723,6 +1723,7 @@ bool LoadObj(attrib_t *attrib, std::vector *shapes, } + //tigra: refactoring for new speedup release //tigra: compares one more start // use mtl if ((0 == strncmp(token, "usemtl", 6)) && IS_SPACE((token[6]))) { @@ -1793,7 +1794,8 @@ bool LoadObj(attrib_t *attrib, std::vector *shapes, continue; } - //tigra: compares one more END + //tigra: compares one more END + //tigra: refactoring for new speedup release // Ignore unknown command. } @@ -2020,6 +2022,7 @@ bool LoadObjWithCallback(std::istream &inStream, const callback_t &callback, + //tigra: refactoring for new speedup release //tigra: compares start // use mtl if ((0 == strncmp(token, "usemtl", 6)) && IS_SPACE((token[6]))) { @@ -2094,6 +2097,7 @@ bool LoadObjWithCallback(std::istream &inStream, const callback_t &callback, continue; } //tigra: compares end + //tigra: refactoring for new speedup release // Ignore unknown command. }