Ok, you are drawing the line outside the loop.
The problem still exist, because in fact i only want the pair of points (0-1, 1-2, 2-0)
Ok, you are drawing the line outside the loop.
The problem still exist, because in fact i only want the pair of points (0-1, 1-2, 2-0)