serializeRay

Converts a Ray to a parameter string.

Signatures

  •   serializeRay( ray )

Example

 console.log( serializeVector([[1, 1, 1],[0,0,1]]) );
 

Output

 ray(<[1,1,1]>,<[0,0,1]>)
 

Parameters

ray

Object of type Ray containing the input value.

Return value

A string containing the paramate representation of ray.