diff --git a/src/FBX2glTF.h b/src/FBX2glTF.h index ed5cb09..81a5adc 100644 --- a/src/FBX2glTF.h +++ b/src/FBX2glTF.h @@ -29,4 +29,13 @@ #include "mathfu.hpp" +// give all modules access to our tweaked JSON +#include +#include + +template +using workaround_fifo_map = nlohmann::fifo_map, A>; + +using json = nlohmann::basic_json; + extern bool verboseOutput; diff --git a/src/fbx/Fbx2Raw.cpp b/src/fbx/Fbx2Raw.cpp index b61702d..8404a1f 100644 --- a/src/fbx/Fbx2Raw.cpp +++ b/src/fbx/Fbx2Raw.cpp @@ -19,7 +19,7 @@ #include #include -#include "gltf/Raw2Gltf.hpp" +#include "FBX2glTF.h" #include "utils/File_Utils.hpp" #include "utils/String_Utils.hpp" diff --git a/src/gltf/Raw2Gltf.hpp b/src/gltf/Raw2Gltf.hpp index 612cb0d..c15278d 100644 --- a/src/gltf/Raw2Gltf.hpp +++ b/src/gltf/Raw2Gltf.hpp @@ -16,14 +16,6 @@ #undef ERROR #include -#include -#include - -template -using workaround_fifo_map = nlohmann::fifo_map, A>; - -using json = nlohmann::basic_json; - #include "FBX2glTF.h" #include "raw/RawModel.hpp"