#ifndef DOTS #define DOTS #include "vgl.h" #include struct Vertex{ GLfloat position[2]; GLfloat color[3]; GLfloat size; }; class Dots{ public: Dots(); ~Dots(); void CreatePoints(int num); void BindDots(GLuint prog, int num); void Display(); void ToggleDisplay(); private: bool display; std::vector points; GLuint VAONumber; GLuint bufferID; float timeStep; GLuint tsLoc; }; #endif