1 #ifndef BLANK_MODEL_MODEL_HPP_
2 #define BLANK_MODEL_MODEL_HPP_
14 using Position = glm::vec3;
15 using Color = glm::vec3;
16 using Normal = glm::vec3;
17 using Index = unsigned int;
19 using Positions = std::vector<Position>;
20 using Colors = std::vector<Color>;
21 using Normals = std::vector<Normal>;
22 using Indices = std::vector<Index>;
32 void Clear() noexcept {
39 void Reserve(size_t p, size_t i) {
52 Model(const Model &) = delete;
53 Model &operator =(const Model &) = delete;
55 Model(Model &&) noexcept;
56 Model &operator =(Model &&) noexcept;
58 void Update(const Buffer &) noexcept;
60 void Draw() const noexcept;
72 GLuint handle[ATTRIB_COUNT];