mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-22 14:09:55 +08:00
minijson experiment.
This commit is contained in:
parent
cf9767668a
commit
4b5fc0cb31
@ -1,6 +1,7 @@
|
||||
//
|
||||
// TODO(syoyo): Print extensions and extras for each glTF object.
|
||||
//
|
||||
#include <iostream>
|
||||
#define TINYGLTF_IMPLEMENTATION
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
|
3186
minijson.h
Normal file
3186
minijson.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -1721,6 +1721,9 @@ class TinyGLTF {
|
||||
#endif // __GNUC__
|
||||
|
||||
#ifndef TINYGLTF_NO_INCLUDE_JSON
|
||||
#ifdef TINYGLTF_USE_MINIJSON
|
||||
#include "minijson.h"
|
||||
#else // !TINYGLTF_USE_MINIJSON
|
||||
#ifndef TINYGLTF_USE_RAPIDJSON
|
||||
#include "json.hpp"
|
||||
#else
|
||||
@ -1732,6 +1735,7 @@ class TinyGLTF {
|
||||
#include "writer.h"
|
||||
#endif
|
||||
#endif
|
||||
#endif // !TINYGLTF_USE_MINIJSON
|
||||
#endif
|
||||
|
||||
#ifdef TINYGLTF_ENABLE_DRACO
|
||||
|
Loading…
x
Reference in New Issue
Block a user