Ray

fun Ray(origin: Vector2F, direction: Vector2F): Ray

Creates a new instance of Ray.

Parameters

direction

the value is expected to be normalized.