GL_LINES only draws a line between every two vertices while GL_LINE_STRIP draws a line between every specified vertex. Link to documentation.
I've attached two pictures to show a comparison:
GL_LINES:
GL_LINE_STRIP:
While the GL_LINE_STRIP version still looks a little bit off at some parts, probably due to missing anti aliasing, it's definitly an improvement to the current version.
Related to this issue
GL_LINES
only draws a line between every two vertices whileGL_LINE_STRIP
draws a line between every specified vertex. Link to documentation.I've attached two pictures to show a comparison:
GL_LINES:
GL_LINE_STRIP:
While the
GL_LINE_STRIP
version still looks a little bit off at some parts, probably due to missing anti aliasing, it's definitly an improvement to the current version.