All pastes #201482 Raw Edit

Anonymous

public text v1 · immutable
#201482 ·published 2006-10-13 21:17 UTC
rendered paste body
void 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
}