X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FSkyBoxMesh.hpp;h=2962f0764ec4735e984cae2045073f71aec92985;hb=3185bad87c06739e4ec19b456c7158437ba9621f;hp=ab1da8dc807280d2d65a9508d0ca907c31dd2550;hpb=3542823a1af7f5063d7cc8da84efa248eb889b8a;p=blank.git diff --git a/src/graphics/SkyBoxMesh.hpp b/src/graphics/SkyBoxMesh.hpp index ab1da8d..2962f07 100644 --- a/src/graphics/SkyBoxMesh.hpp +++ b/src/graphics/SkyBoxMesh.hpp @@ -1,10 +1,10 @@ #ifndef BLANK_GRAPHICS_SKYBOXMESH_HPP_ #define BLANK_GRAPHICS_SKYBOXMESH_HPP_ +#include "glm.hpp" #include "VertexArray.hpp" #include -#include namespace blank { @@ -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;