#pragma once #include "Json/JsonCommon.h" #include #include #include #include namespace T6 { class JsonXModelLod { public: std::string file; float distance; }; NLOHMANN_DEFINE_TYPE_EXTENSION(JsonXModelLod, file, distance); class JsonXModel { public: std::vector lods; std::optional collLod; std::optional physPreset; std::optional physConstraints; unsigned flags; JsonVec3 lightingOriginOffset; float lightingOriginRange; }; NLOHMANN_DEFINE_TYPE_EXTENSION(JsonXModel, lods, collLod, physPreset, physConstraints, flags, lightingOriginOffset, lightingOriginRange); } // namespace T6