copy

open override fun copy(origin: Vector2F, direction: Vector2F): MutableRay

Returns a copy of this instance with specified properties changed.

Parameters

direction

the value is expected to be normalized.