lineSegment

fun lineSegment(x0: Double, y0: Double, x1: Double, y1: Double)
fun lineSegment(lineSegment: LineSegment)
fun lineSegment(start: Vector2, end: Vector2)

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

fun lineSegment(start: Vector3, end: Vector3)

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