1 #ifndef BLANK_MODEL_OUTLINEMODEL_HPP_
2 #define BLANK_MODEL_OUTLINEMODEL_HPP_
14 using Position = glm::vec3;
15 using Color = glm::vec3;
16 using Index = unsigned short;
18 using Positions = std::vector<Position>;
19 using Colors = std::vector<Color>;
20 using Indices = std::vector<Index>;
28 OutlineModel() noexcept;
29 ~OutlineModel() noexcept;
31 OutlineModel(const OutlineModel &) = delete;
32 OutlineModel &operator =(const OutlineModel &) = delete;
34 void Invalidate() noexcept { dirty = true; }
36 void Clear() noexcept;
37 void Reserve(int vtx_count, int idx_count);
42 void Update() noexcept;
53 GLuint handle[ATTRIB_COUNT];