X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fshape.hpp;h=f31075b10fb48f8e2103bbad1349af97b9c10dfd;hb=9c2baccb84195b7a2858c2b967c94d15cd31836b;hp=909d1c40691bc6cae174eb4cdcedc7456ad4a3d6;hpb=0d6efa28245acaf22383bdf398b5537d1fe33ce2;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(); }