#ifndef MAPH #define MAPH #include #include #include #include #include namespace agl { struct floor { glm::vec3 v1; glm::vec3 v2; GLuint texture; }; struct wall { glm::vec3 v1; glm::vec3 v2; GLuint texture; }; class Map { std::vector floors; std::vector walls; std::vector texs; std::vector> vertices; std::vector> normals; std::vector> textices; std::vector vaos; std::vector explode(std::string, std::string); public: Map(); Map(char*, std::vector); int loadFromFile(char*, std::vector); void render(); ~Map(); }; }; #endif