1 #ifndef BLANK_GENERATOR_HPP_
2 #define BLANK_GENERATOR_HPP_
17 unsigned int solid_seed = 0;
18 unsigned int type_seed = 0;
19 float stretch = 64.0f;
20 float solid_threshold = 0.8f;
23 explicit Generator(const Config &);
25 void operator ()(Chunk &) const;
27 void Space(Block::Type t) { space = t; }
28 void Light(Block::Type t) { light = t; }
29 void Solids(const std::vector<Block::Type> &s) { solids = s; }
32 SimplexNoise solidNoise;
33 WorleyNoise typeNoise;
36 float solid_threshold;
40 std::vector<Block::Type> solids;