serializeRayArr1D

Converts a one-dimesional array of Ray elements to an array of parameter strings.

Signatures

  •   Paramate.Configurator.serializeRayArr1D( rayArr )

Example

 console.log( Paramate.Configurator.serializeRayArr1D([[[0, 0, 0],[1,0,0]],[[1, 0, 0],[0,0,1]]]) );
 

Output

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

Parameters

rayArr

Array containing elements of type Ray.

Return value

A one-dimensional array with string elements containing the paramate representations of rayArr elements.