clone
Duplicates a Ray instance.
Return
The modified result parameter or a new Ray instance if one was not provided. (Returns undefined if ray is undefined)
Parameters
ray
The ray to duplicate.
result
The object onto which to store the result.
Duplicates a Ray instance.
The modified result parameter or a new Ray instance if one was not provided. (Returns undefined if ray is undefined)
The ray to duplicate.
The object onto which to store the result.