]> git.localhorst.tv Git - blank.git/blobdiff - src/shape.hpp
orientable blocks
[blank.git] / src / shape.hpp
index 909d1c40691bc6cae174eb4cdcedc7456ad4a3d6..f31075b10fb48f8e2103bbad1349af97b9c10dfd 100644 (file)
@@ -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(); }