GLdouble* NewVector(GLdouble x, GLdouble y) { GLdouble *vert = new GLdouble[3]; vert[0] = x; vert[1] = y; vert[2] = 0; vectors.push_back(vert); return vert; }