#ifndef SPIRAL #define SPIRAL #include "vgl.h" const int TURNS = 30; const int MAX_POINTS = 500; class Spiral{ public: Spiral(); ~Spiral(); void BindSpiral(GLuint prog); void Display(); void NextTheta(); void ToggleDisplay(); private: bool display; GLuint program; GLfloat points[MAX_POINTS][2]; GLuint VAONumber; GLuint bufferID; GLfloat theta; GLint thetaLocation; }; #endif