initFromVec3

fun initFromVec3(origin: Vec3? = null, direction: Vec3? = null): Ray

Initializes the given #graphene_ray_t using the given vectors.

Return

the initialized ray

Since

1.4

Parameters

origin

a #graphene_vec3_t

direction

a #graphene_vec3_t