1 #ifndef BLANK_MODEL_BLOCKMODEL_HPP_
2 #define BLANK_MODEL_BLOCKMODEL_HPP_
4 #include "../graphics/VertexArray.hpp"
16 using Position = glm::vec3;
17 using Color = glm::vec3;
19 using Index = unsigned int;
21 using Positions = std::vector<Position>;
22 using Colors = std::vector<Color>;
23 using Lights = std::vector<Light>;
24 using Indices = std::vector<Index>;
41 void Clear() noexcept {
48 void Reserve(size_t p, size_t i) {
57 using VAO = VertexArray<ATTRIB_COUNT>;
60 void Update(const Buffer &) noexcept;
62 void Draw() const noexcept;