chore: dump and load lod dist from xmodel json

This commit is contained in:
Jan
2024-09-05 21:19:40 +02:00
parent 4db13de471
commit 0d343dd3fa
3 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -16,9 +16,10 @@ namespace T6
{
public:
std::string file;
float distance;
};
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonXModelLod, file);
NLOHMANN_DEFINE_TYPE_EXTENSION(JsonXModelLod, file, distance);
class JsonXModel
{