X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmodel%2FShape.hpp;h=312b1aafd1cf212951ffeee433ed2a22b99da5bf;hb=8ab4ea13545cccbacbd1ed610968d3f481c1b3c8;hp=28a36ab6445afd585328a2999ad3ea8967011bb0;hpb=be3a81656b8493010d2329fa00da617e24293438;p=blank.git diff --git a/src/model/Shape.hpp b/src/model/Shape.hpp index 28a36ab..312b1aa 100644 --- a/src/model/Shape.hpp +++ b/src/model/Shape.hpp @@ -4,6 +4,7 @@ #include "BlockModel.hpp" #include "EntityModel.hpp" #include "OutlineModel.hpp" +#include "SkyBoxModel.hpp" #include @@ -45,6 +46,9 @@ struct Shape { float tex_offset = 0.0f, BlockModel::Index idx_offset = 0 ) const; + void Vertices( + SkyBoxModel::Buffer &out + ) const; /// the number of vertices this shape's outline has size_t OutlineCount() const { return out_pos.size(); }