Ray.init_
graphene.ray.Ray init_(graphene.point3_d.Point3D origin, graphene.vec3.Vec3 direction = null)Initializes the given #graphene_ray_t using the given origin and direction values.
Parameters
origin | the origin of the ray |
direction | the direction vector |
Returns
the initialized ray