Ray.initFromRay

graphene.ray.Ray initFromRay(graphene.ray.Ray src) nothrow

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

Parameters

srca #graphene_ray_t

Returns

the initialized ray