init_from_vec3


Description:

public unowned Ray? init_from_vec3 (Vec3? origin, Vec3? direction)

Initializes the given Ray using the given vectors.

Parameters:

this

the Ray to initialize

origin

a Vec3

direction

a Vec3

Returns:

the initialized ray