X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FSkyBoxMesh.hpp;h=2378327fc50a3848cdd0a3664fc06e6dc43a0823;hb=ef2427f841a434f93805321f8bbac44be2dd4555;hp=ab1da8dc807280d2d65a9508d0ca907c31dd2550;hpb=2ad195d00eea2c4d48f3f1a3ccc60a8176e7da20;p=blank.git diff --git a/src/graphics/SkyBoxMesh.hpp b/src/graphics/SkyBoxMesh.hpp index ab1da8d..2378327 100644 --- a/src/graphics/SkyBoxMesh.hpp +++ b/src/graphics/SkyBoxMesh.hpp @@ -47,7 +47,13 @@ public: void LoadUnitBox(); void Update(const Buffer &) noexcept; - void Draw() const noexcept; + bool Empty() const noexcept { + return vao.Empty(); + } + + void Draw() const noexcept { + vao.DrawTriangleElements(); + } private: VAO vao;