]> git.localhorst.tv Git - blank.git/blobdiff - src/world/BlockType.hpp
special treatment for players
[blank.git] / src / world / BlockType.hpp
index 786c76cffbe3b566cdc048bce40624790c56db7c..bdc4721e96dea3b4762cc219190b4d0c49379ff6 100644 (file)
@@ -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;
 
 };