X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FGenerator.cpp;fp=src%2Fworld%2FGenerator.cpp;h=c37c18b6c2aa4a7f337286d6810bfd154ea6e002;hb=13e676a6e49128ebc6c63b8dd08bef51d360e8e9;hp=c8621e75e42bc907d8656b1be33370a0b63ae2c2;hpb=43820582217f7e4b707d98f2e69d969eb77fc7c3;p=blank.git diff --git a/src/world/Generator.cpp b/src/world/Generator.cpp index c8621e7..c37c18b 100644 --- a/src/world/Generator.cpp +++ b/src/world/Generator.cpp @@ -13,9 +13,10 @@ Generator::Generator(const Config &config) noexcept , typeNoise(config.seed) , stretch(1.0f/config.stretch) , solid_threshold(config.solid_threshold) +// TODO: stable dynamic generator configuration , space(0) -, light(0) -, solids() { +, light(13) +, solids({ 1, 4, 7, 10 }) { } @@ -47,7 +48,6 @@ void Generator::operator ()(Chunk &chunk) const noexcept { } } } - //chunk.CheckUpdate(); } }