1 #ifndef BLANK_MODEL_HPP_
2 #define BLANK_MODEL_HPP_
14 using Index = unsigned int;
17 std::vector<glm::vec3> vertices;
18 std::vector<glm::vec3> colors;
19 std::vector<glm::vec3> normals;
20 std::vector<Index> indices;
26 Model(const Model &) = delete;
27 Model &operator =(const Model &) = delete;
30 Model &operator =(Model &&);
32 void Invalidate() { dirty = true; }
35 void Reserve(int vtx_count, int idx_count);
53 GLuint handle[ATTRIB_COUNT];
62 using Index = unsigned short;
65 std::vector<glm::vec3> vertices;
66 std::vector<glm::vec3> colors;
67 std::vector<Index> indices;
73 OutlineModel(const OutlineModel &) = delete;
74 OutlineModel &operator =(const OutlineModel &) = delete;
76 void Invalidate() { dirty = true; }
79 void Reserve(int vtx_count, int idx_count);
95 GLuint handle[ATTRIB_COUNT];