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:![lines](https://user-images.githubusercontent.com/32774990/58479369-74e85880-8158-11e9-94e4-3d70126820ba.png)
GL_LINE_STRIP:![line_strip](https://user-images.githubusercontent.com/32774990/58479389-82054780-8158-11e9-8461-9dc9ef38ef99.png)
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.