Ray.initFromVec3

Initializes the given #graphene_ray_t using the given vectors.

class Ray
initFromVec3

Parameters

origin Vec3

a #graphene_vec3_t

direction Vec3

a #graphene_vec3_t

Return Value

Type: Ray

the initialized ray

Meta