X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fshape.hpp;h=f31075b10fb48f8e2103bbad1349af97b9c10dfd;hb=b4995967309bf5570161db2287e27b84ca94ab9a;hp=909d1c40691bc6cae174eb4cdcedc7456ad4a3d6;hpb=a58c4558e7d4934f4d0ee621520acfe1c8258c93;p=blank.git diff --git a/src/shape.hpp b/src/shape.hpp index 909d1c4..f31075b 100644 --- a/src/shape.hpp +++ b/src/shape.hpp @@ -26,6 +26,13 @@ struct Shape { const Model::Position &elem_offset = { 0.0f, 0.0f, 0.0f }, Model::Index idx_offset = 0 ) const; + void Vertices( + Model::Positions &vertex, + Model::Normals &normal, + Model::Indices &index, + const glm::mat4 &transform, + Model::Index idx_offset = 0 + ) const; /// the number of vertices this shape's outline has size_t OutlineCount() const { return out_pos.size(); }