#ifndef OBJECT_BASE #define OBJECT_BASE #include "vgl.h" #include #include #include "Vertex.h" class Object{ public: Object(); ~Object(); void Bind(GLuint prog); void ToggleDisplay(); void Display(); void SetType(GLenum); protected: virtual void Init() = 0; virtual void DisplaySetup() = 0; GLenum drawType; bool display; std::vector points; std::vectorindex; GLuint VAONumber; GLuint bufferIDs[2]; }; #endif