Ray.initFromRay

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

class Ray
initFromRay

Parameters

src Ray

a #graphene_ray_t

Return Value

Type: Ray

the initialized ray

Meta