Ray.initFromVec3

Initializes the given #graphene_ray_t using the given vectors.

Parameters

origin graphene.vec3.Vec3

a #graphene_vec3_t

direction graphene.vec3.Vec3

a #graphene_vec3_t

Return Value

Type: graphene.ray.Ray

the initialized ray