#pragma once #include "Batch.h" #include "Renderable.h" #include "MyTriangle.h" class MyBatch : public Batch { public: MyBatch(const MyTriangle& triangle); void render() const override; protected: void populate_vbos() override; void setup_vao() override; private: const MyTriangle* m_triangle; GLuint m_vbo; GLuint m_vao; };