X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgenerator.hpp;h=dedfb72b7c94fc5461bf795accf09d33f9b86542;hb=e53a0e2e711a7d8bd9b0ddacd1360aa14370643f;hp=70c38f59941e517e62de8a9a6920db9610c235f4;hpb=7ef94f4e55a0b798eecbcc7166a80b8364b21ea4;p=blank.git diff --git a/src/generator.hpp b/src/generator.hpp index 70c38f5..dedfb72 100644 --- a/src/generator.hpp +++ b/src/generator.hpp @@ -20,12 +20,12 @@ public: float solid_threshold = 0.5f; }; - explicit Generator(const Config &); + explicit Generator(const Config &) noexcept; - void operator ()(Chunk &) const; + void operator ()(Chunk &) const noexcept; - void Space(Block::Type t) { space = t; } - void Light(Block::Type t) { light = t; } + void Space(Block::Type t) noexcept { space = t; } + void Light(Block::Type t) noexcept { light = t; } void Solids(const std::vector &s) { solids = s; } private: