X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2FBlockType.hpp;h=bdc4721e96dea3b4762cc219190b4d0c49379ff6;hb=dbfcb12348b80e2582f710acb1e4ed0011889ba2;hp=786c76cffbe3b566cdc048bce40624790c56db7c;hpb=5998b18978bd8e7a0c9deb516474634e1d3521c9;p=blank.git diff --git a/src/world/BlockType.hpp b/src/world/BlockType.hpp index 786c76c..bdc4721 100644 --- a/src/world/BlockType.hpp +++ b/src/world/BlockType.hpp @@ -17,6 +17,7 @@ namespace blank { struct BlockType { const Shape *shape; + float texture; glm::vec3 color; glm::vec3 outline_color; @@ -73,11 +74,7 @@ struct BlockType { const glm::mat4 &transform = glm::mat4(1.0f), BlockModel::Index idx_offset = 0 ) const noexcept; - void FillOutlineModel( - OutlineModel::Buffer &m, - const glm::vec3 &pos_offset = { 0, 0, 0 }, - OutlineModel::Index idx_offset = 0 - ) const noexcept; + void FillOutlineModel(OutlineModel::Buffer &m) const noexcept; };