Anonymous
public text v1 · immutablevoid display(void)
{
glClear(GL_COLOR_BUFFER_BIT);
std::vector<Point> points;
points.push_back(new Point(1, 1));
points.push_back(new Point(1, 2));
glBegin(GL_LINES);
points[0].plot();
glEnd();
glFlush(); //Flush Buffers
}