X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fworld%2Fblock.cpp;h=09acfef9efcc01a2504c63459736fec9df5bd056;hb=dbfcb12348b80e2582f710acb1e4ed0011889ba2;hp=54ceba081b035036164e6537919c8feca29e085e;hpb=b0c2d423138dfb4849c679b3fb93e4336dcf5845;p=blank.git diff --git a/src/world/block.cpp b/src/world/block.cpp index 54ceba0..09acfef 100644 --- a/src/world/block.cpp +++ b/src/world/block.cpp @@ -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); }