+void SkyBoxModel::LoadUnitBox() {
+ Buffer buffer;
+ CuboidShape shape({{ -1, -1, -1 }, { 1, 1, 1 }});
+ shape.Vertices(buffer);
+ Update(buffer);
+}
+
+void SkyBoxModel::Update(const Buffer &buf) noexcept {
+ vao.Bind();
+ vao.PushAttribute(ATTRIB_VERTEX, buf.vertices);
+ vao.PushIndices(ATTRIB_INDEX, buf.indices);
+}
+
+void SkyBoxModel::Draw() const noexcept {
+ vao.DrawTriangleElements();
+}
+
+