#include #include #include "Vector2D.h" int w = 600; int h = 600; int n = 100000; int pickpt = 0; Vector2D p[3], P; void init(){ glOrtho(0.0, 1.0, 0.0, 1.0, -1.0, 1.0); glClearColor(1.0, 1.0, 1.0, 0.0); glColor3f(0.0, 0.0, 0.0); } void display(){ glClear(GL_COLOR_BUFFER_BIT); for(int i=0; i