All pastes #201487 Raw Edit

Miscellany

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