Merge branch 'master' of github.com:syoyo/tinyobjloader

This commit is contained in:
Syoyo Fujita
2018-08-20 14:10:17 +09:00
2 changed files with 35 additions and 0 deletions

View File

@@ -1238,6 +1238,8 @@ typedef struct {
// 3. Do parallel parsing for each line.
// 4. Reconstruct final mesh data structure.
// Raise # of max threads if you have more CPU cores...
// In 2018, 32 cores are getting common in high-end workstaion PC.
#define kMaxThreads (32)
static inline bool is_line_ending(const char *p, size_t i, size_t end_i) {