set

fun set(origin: Vec3, direction: Vec3): Line

Sets this line to a specified origin and direction.

Return

this line, set to the new origin and direction

Parameters

origin

the line's new origin

direction

the line's new direction