The origin of the ray.
Duplicates a Ray instance.
The ray to duplicate.
The modified result parameter or a new Ray instance if one was not provided. (Returns undefined if ray is undefined)
Computes the point along the ray given by r(t) = o + t*d, where o is the origin of the ray and d is the direction.
The ray.
A scalar value.
The modified result parameter, or a new instance if none was provided.
The direction of the ray.