Support simultaneous gltf load/saves (TINYGLTF_USE_RAPIDJSON_CRTALLOCATOR)

This allows multiple gltf's to be loaded/saved in parallel.  It removes the restriction of a single JsonDocument active at once which is default behavior.  Enable with TINYGLTF_USE_RAPIDJSON_CRTALLOCATOR
This commit is contained in:
jrkoonce
2019-09-04 12:01:39 -05:00
parent 1060872f0d
commit 2a6fda6e9c
4 changed files with 6975 additions and 69 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
#define TINYGLTF_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_WRITE_IMPLEMENTATION
//#define TINYGLTF_USE_RAPIDJSON
#define TINYGLTF_USE_RAPIDJSON
#include "tiny_gltf.h"
#include <cstdio>