#pragma once #include #include "object.hh" using namespace ACGL::OpenGL; class Chunk { public: Chunk(); ~Chunk(); void render(SharedShaderProgram shader, bool lightingPass, bool texturePass, glm::mat4* viewProjcetionMatrix, std::vector* additionalMatrices=0); void addObject(Object* object); void enqueueObjects(std::vector>* renderQueue); private: std::vector objects; };