]> git.localhorst.tv Git - blank.git/blobdiff - src/world/block.cpp
special treatment for players
[blank.git] / src / world / block.cpp
index 54ceba081b035036164e6537919c8feca29e085e..09acfef9efcc01a2504c63459736fec9df5bd056 100644 (file)
@@ -103,12 +103,8 @@ void BlockType::FillBlockModel(
        buf.colors.insert(buf.colors.end(), shape->VertexCount(), color);
 }
 
-void BlockType::FillOutlineModel(
-       OutlineModel::Buffer &buf,
-       const glm::vec3 &pos_offset,
-       OutlineModel::Index idx_offset
-) const noexcept {
-       shape->Outline(buf, pos_offset, idx_offset);
+void BlockType::FillOutlineModel(OutlineModel::Buffer &buf) const noexcept {
+       shape->Outline(buf);
        buf.colors.insert(buf.colors.end(), shape->OutlineCount(), outline_color);
 }