mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-06 00:53:52 +00:00
feat(editor): include tileSize/chunkSize constants in WOT metadata
This commit is contained in:
parent
02c2d62a02
commit
8ef151a07e
1 changed files with 2 additions and 0 deletions
|
|
@ -53,6 +53,8 @@ bool WoweeTerrain::exportOpen(const pipeline::ADTTerrain& terrain,
|
||||||
f << "\n";
|
f << "\n";
|
||||||
}
|
}
|
||||||
f << " ],\n";
|
f << " ],\n";
|
||||||
|
f << " \"tileSize\": 533.33333,\n";
|
||||||
|
f << " \"chunkSize\": 33.33333,\n";
|
||||||
f << " \"chunkLayers\": [\n";
|
f << " \"chunkLayers\": [\n";
|
||||||
for (int ci = 0; ci < 256; ci++) {
|
for (int ci = 0; ci < 256; ci++) {
|
||||||
const auto& chunk = terrain.chunks[ci];
|
const auto& chunk = terrain.chunks[ci];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue