]> git.localhorst.tv Git - blank.git/blobdiff - src/generator.hpp
update light levels from border on neighbor change
[blank.git] / src / generator.hpp
index b3e8ffb0ad2f55045986eaca85d95d365fa80722..70c38f59941e517e62de8a9a6920db9610c235f4 100644 (file)
@@ -13,7 +13,14 @@ namespace blank {
 class Generator {
 
 public:
-       explicit Generator(unsigned int seed);
+       struct Config {
+               unsigned int solid_seed = 0;
+               unsigned int type_seed = 0;
+               float stretch = 64.0f;
+               float solid_threshold = 0.5f;
+       };
+
+       explicit Generator(const Config &);
 
        void operator ()(Chunk &) const;