mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-16 17:46:00 +08:00
Added TINYGLTF_NO_INCLUDE_RAPIDJSON for consistency and because my project already used rapidjson/
This commit is contained in:
parent
298c37a954
commit
3ddf8301f6
@ -1538,6 +1538,7 @@ class TinyGLTF {
|
|||||||
#ifndef TINYGLTF_USE_RAPIDJSON
|
#ifndef TINYGLTF_USE_RAPIDJSON
|
||||||
#include "json.hpp"
|
#include "json.hpp"
|
||||||
#else
|
#else
|
||||||
|
#ifndef TINYGLTF_NO_INCLUDE_RAPIDJSON
|
||||||
#include "document.h"
|
#include "document.h"
|
||||||
#include "prettywriter.h"
|
#include "prettywriter.h"
|
||||||
#include "rapidjson.h"
|
#include "rapidjson.h"
|
||||||
@ -1545,6 +1546,7 @@ class TinyGLTF {
|
|||||||
#include "writer.h"
|
#include "writer.h"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef TINYGLTF_ENABLE_DRACO
|
#ifdef TINYGLTF_ENABLE_DRACO
|
||||||
#include "draco/compression/decode.h"
|
#include "draco/compression/decode.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user