1 #ifndef BLANK_MODEL_SHAPE_HPP_
2 #define BLANK_MODEL_SHAPE_HPP_
4 #include "../graphics/BlockMesh.hpp"
5 #include "../graphics/EntityMesh.hpp"
14 struct CollisionBounds;
15 class TokenStreamReader;
22 void Read(TokenStreamReader &);
26 const std::vector<float> &tex_map
30 const glm::mat4 &transform,
31 const std::vector<float> &tex_map
35 const glm::mat4 &transform,
36 const std::vector<float> &tex_map,
37 std::size_t idx_offset = 0
41 static float TexR(const std::vector<float> &, std::size_t) noexcept;
44 std::unique_ptr<CollisionBounds> bounds;
51 std::vector<Vertex> vertices;
52 std::vector<std::size_t> indices;