#ifndef BLANK_GRPAHICS_SPRITEMESH_HPP_
#define BLANK_GRPAHICS_SPRITEMESH_HPP_
+#include "glm.hpp"
#include "VertexArray.hpp"
#include <vector>
#include <GL/glew.h>
-#include <glm/glm.hpp>
namespace blank {
public:
void Update(const Buffer &) noexcept;
- void Draw() noexcept;
+ bool Empty() const noexcept {
+ return vao.Empty();
+ }
+
+ void Draw() const noexcept {
+ vao.DrawTriangleElements();
+ }
private:
VAO vao;