X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgenerator.hpp;fp=src%2Fgenerator.hpp;h=dedfb72b7c94fc5461bf795accf09d33f9b86542;hb=76b3ec0f6aa0dacf6d4944a2787991f3585299e8;hp=70c38f59941e517e62de8a9a6920db9610c235f4;hpb=6e59f3102d6d64355d5a30b708a326327b089aaf;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: