init


Description:

public unowned Ray? init (Point3D? origin, Vec3? direction)

Initializes the given Ray using the given origin and direction values.

Parameters:

this

the Ray to initialize

origin

the origin of the ray

direction

the direction vector

Returns:

the initialized ray