Drawing Lines with Bresenham’s Line Algorithm in OpenGL and GLUT

Implementation of bresenham line algorithm