Ray.init_

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

Parameters

origin graphene.point3_d.Point3D

the origin of the ray

direction graphene.vec3.Vec3

the direction vector

Return Value

Type: graphene.ray.Ray

the initialized ray