Implemented line rendering with modern OpenGL