Draws a line segment from start to end using 2d coordinates
Draws a line segment from start to end using 3d coordinates