]> git.localhorst.tv Git - blank.git/blobdiff - src/model/Shape.hpp
sky box model & shader
[blank.git] / src / model / Shape.hpp
index 28a36ab6445afd585328a2999ad3ea8967011bb0..312b1aafd1cf212951ffeee433ed2a22b99da5bf 100644 (file)
@@ -4,6 +4,7 @@
 #include "BlockModel.hpp"
 #include "EntityModel.hpp"
 #include "OutlineModel.hpp"
+#include "SkyBoxModel.hpp"
 
 #include <glm/glm.hpp>
 
@@ -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(); }