initFromRay

fun initFromRay(src: Ray): Ray

Initializes the given #graphene_ray_t using the origin and direction values of another #graphene_ray_t.

Return

the initialized ray

Since

1.4

Parameters

src

a #graphene_ray_t