Gl Graph
Gl Graph Source of line.cpp
#include <GL/gl.h> #include<line.h> void Line::draw() { glBegin(GL_LINES); glVertex3d(X1, Y1, 0); glVertex3d(X2, Y2, 0); glEnd(); }