Ray.init

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

Parameters

origin Point3D

the origin of the ray

direction Vec3

the direction vector

Return Value

Type: Ray

the initialized ray

Meta