refactoring for new speedup release1
This commit is contained in:
@@ -1723,6 +1723,7 @@ bool LoadObj(attrib_t *attrib, std::vector<shape_t> *shapes,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//tigra: refactoring for new speedup release
|
||||||
//tigra: compares one more start
|
//tigra: compares one more start
|
||||||
// use mtl
|
// use mtl
|
||||||
if ((0 == strncmp(token, "usemtl", 6)) && IS_SPACE((token[6]))) {
|
if ((0 == strncmp(token, "usemtl", 6)) && IS_SPACE((token[6]))) {
|
||||||
@@ -1793,7 +1794,8 @@ bool LoadObj(attrib_t *attrib, std::vector<shape_t> *shapes,
|
|||||||
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
//tigra: compares one more END
|
//tigra: compares one more END
|
||||||
|
//tigra: refactoring for new speedup release
|
||||||
|
|
||||||
// Ignore unknown command.
|
// 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
|
//tigra: compares start
|
||||||
// use mtl
|
// use mtl
|
||||||
if ((0 == strncmp(token, "usemtl", 6)) && IS_SPACE((token[6]))) {
|
if ((0 == strncmp(token, "usemtl", 6)) && IS_SPACE((token[6]))) {
|
||||||
@@ -2094,6 +2097,7 @@ bool LoadObjWithCallback(std::istream &inStream, const callback_t &callback,
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
//tigra: compares end
|
//tigra: compares end
|
||||||
|
//tigra: refactoring for new speedup release
|
||||||
|
|
||||||
// Ignore unknown command.
|
// Ignore unknown command.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user