Companion

Functions

Link copied to clipboard
fun clone(ray: Ray, result: Ray? = definedExternally): Ray

Duplicates a Ray instance.

Link copied to clipboard
fun getPoint(ray: Ray, t: Double, result: Cartesian3? = definedExternally): Cartesian3

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.