Added method to draw lines to opengl module.