X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FBlockType.hpp;h=a27b89bfd30016c66fcf677d64c23a3e51b78693;hb=957b1df87d9a692c517a269221da81227100240e;hp=0cae9c00389767c013880e559f3a37bf1126c7c8;hpb=75ebb9101c7aec9c16ef418b822c39e81889f66f;p=blank.git diff --git a/src/world/BlockType.hpp b/src/world/BlockType.hpp index 0cae9c0..a27b89b 100644 --- a/src/world/BlockType.hpp +++ b/src/world/BlockType.hpp @@ -18,7 +18,8 @@ struct BlockType { const Shape *shape; float texture; - glm::vec3 color; + glm::vec3 hsl_mod; + glm::vec3 rgb_mod; glm::vec3 outline_color; /// a string to display to the user @@ -72,11 +73,7 @@ struct BlockType { } } fill; - explicit BlockType( - bool v = false, - const glm::vec3 &color = { 1, 1, 1 }, - const Shape *shape = &DEFAULT_SHAPE - ) noexcept; + BlockType() noexcept; static const NullShape DEFAULT_SHAPE;