drawLine

fun drawLine(start: Vec3, finish: Vec3, color: Color, thickness: Float = 3.0f, phase: Boolean = true)

Draws a line connecting the points start and finish.

Parameters

phase

Determines whether the box should be visible through walls (disables the depth test).


fun drawLine(x: Double, y: Double, z: Double, x2: Double, y2: Double, z2: Double, color: Color, thickness: Float = 3.0f, phase: Boolean = true)

Draws a line connecting the points (x, y, z) and (x2, y2, z2).

Parameters

phase

Determines whether the box should be visible through walls (disables the depth test).