set

fun set(origin: Vector2F = this.origin, direction: Vector2F = this.direction)

Sets the specified properties of this instance.

Parameters

direction

the value is expected to be normalized.