All pastes #201488 Raw Edit

Unnamed

public text v1 · immutable
#201488 ·published 2006-10-13 21:19 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();
}