#ifndef MESH_HPP #define MESH_HPP #include #include #include #include #include #include namespace oglu { struct OGLU_API Vertex { glm::vec3 Position; glm::vec3 Normal; glm::vec2 UV; }; class OGLU_API Mesh { public: Mesh(const std::vector& vertices, const std::vector& indices, const std::vector& textures); void Render(Shader& shader); private: void CreateMesh(); public: std::vector vertices; std::vector indices; std::vector textures; private: VertexArray VAO; }; } #endif