X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FEntityMesh.hpp;h=58b29e51f7726fa078b8036443e857a587c25730;hb=ef2427f841a434f93805321f8bbac44be2dd4555;hp=804bb6ede5f1a59488fdff2226b9492267c4c36a;hpb=2ad195d00eea2c4d48f3f1a3ccc60a8176e7da20;p=blank.git diff --git a/src/graphics/EntityMesh.hpp b/src/graphics/EntityMesh.hpp index 804bb6e..58b29e5 100644 --- a/src/graphics/EntityMesh.hpp +++ b/src/graphics/EntityMesh.hpp @@ -69,7 +69,13 @@ public: public: 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;