#ifndef __OPENGLPLAYGROUND_OBJECT_HH__ #define __OPENGLPLAYGROUND_OBJECT_HH__ #include #include #include "objectParser.hh" #include "VBOManager.hh" class Object { public: Object(std::vector const& vas, std::vector indice); Object(std::string const& filename); Object(Object const& copy) = delete; ~Object(); Object& operator=(Object const& copy) = delete; void draw() const; private: void construct(std::vector const& vas); VBOManager::VBOAlloc _vbo; std::vector _indices; gl::GLuint _vaID; }; #endif