1 #ifndef GONG_GRAPHICS_SKYBOXMESH_HPP_
2 #define GONG_GRAPHICS_SKYBOXMESH_HPP_
5 #include "VertexArray.hpp"
16 using Position = glm::vec3;
17 using Index = unsigned int;
19 using Positions = std::vector<Position>;
20 using Indices = std::vector<Index>;
33 void Clear() noexcept {
38 void Reserve(size_t p, size_t i) {
45 using VAO = VertexArray<ATTRIB_COUNT>;
49 void Update(const Buffer &) noexcept;
51 bool Empty() const noexcept {
55 void Draw() const noexcept {
56 vao.DrawTriangleElements();