/* * ===================================================================================== * * Filename: World.hpp * * Description: * * Version: 1.0 * Created: 16/12/2014 15:28:02 * Revision: none * Compiler: gcc * * Author: Quentin BAZIN, * Company: * * ===================================================================================== */ #ifndef WORLD_HPP_ #define WORLD_HPP_ #include #include "Chunk.hpp" class World { public: World(); ~World(); void draw(Shader &shader, const glm::mat4 &pv); Chunk *getChunk(s32 x, s32 z); private: s32 m_width; s32 m_depth; std::vector> m_chunks; }; #endif // WORLD_HPP_