mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
collect generator voxel fragments to directory
This commit is contained in:
parent
788ad1f6a6
commit
d839da7dab
8 changed files with 5 additions and 3 deletions
|
|
@ -22,7 +22,7 @@ static VoxelStructureMeta load_structure_meta(
|
|||
static std::vector<std::unique_ptr<GeneratingVoxelStructure>> load_structures(
|
||||
const fs::path& structuresFile
|
||||
) {
|
||||
auto structuresDir = structuresFile.parent_path();
|
||||
auto structuresDir = structuresFile.parent_path() / fs::path("fragments");
|
||||
auto map = files::read_json(structuresFile);
|
||||
|
||||
std::vector<std::unique_ptr<GeneratingVoxelStructure>> structures;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue