Fixed bug with buildNativeLine loop

Previously for drawing a line, you had to pass 3 point, because the loop in buildNativeLine was wrong. Now you can make a line with 2 points and make multiple lines as you would with GL_LINE_STRIP. (All lines are drawn with GL_LINES)