aboutsummaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/utils/AssetGenerator.cpp1
-rw-r--r--shared/utils/AssetGenerator.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/shared/utils/AssetGenerator.cpp b/shared/utils/AssetGenerator.cpp
index 991bd1e..0c3b4ea 100644
--- a/shared/utils/AssetGenerator.cpp
+++ b/shared/utils/AssetGenerator.cpp
@@ -42,6 +42,7 @@ void CubeAssetGenerator::generate(GeneratorAsset& asset, const Settings& setting
std::vector<GeneratorAsset::Vec3> depthSlicesPerAxisTotal;
uint32_t currentID = 0;
GeneratorAsset::Vec3 extents = settings.extents;
+ asset.extents = extents;
// Iterate over depths and create children
for (uint32_t depth = 0; depth < settings.depths.size(); depth++)
diff --git a/shared/utils/AssetGenerator.h b/shared/utils/AssetGenerator.h
index bdf634a..2fa2595 100644
--- a/shared/utils/AssetGenerator.h
+++ b/shared/utils/AssetGenerator.h
@@ -69,6 +69,7 @@ public:
std::vector<NvBlastChunkDesc> solverChunks;
std::vector<NvBlastBondDesc> solverBonds;
std::vector<BlastChunkCube> chunks;
+ Vec3 extents;
};