public:
using Position = glm::vec3;
using TexCoord = glm::vec3;
- using ColorMod = glm::vec3;
+ using ColorMod = glm::tvec3<unsigned char>;
using Light = float;
using Index = unsigned int;
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;