aboutsummaryrefslogtreecommitdiff
path: root/shared/utils
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2017-10-24 15:25:02 -0700
committerBryan Galdrikian <[email protected]>2017-10-24 15:25:02 -0700
commitb0c11962f6012430da3bcaa2727288046b33d648 (patch)
treecf13338fa4fd7072badf64f751f94abeeb437003 /shared/utils
parentlinux build fix - all configs (diff)
downloadblast-b0c11962f6012430da3bcaa2727288046b33d648.tar.xz
blast-b0c11962f6012430da3bcaa2727288046b33d648.zip
Changes for 1.1.1
See README.md
Diffstat (limited to 'shared/utils')
-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;
};