Package: graphene
Function graphene:ray-init
Lambda Listgraphene:ray-init (ray origin direction) Argumentsray -- a graphene:ray-t instance to be initialized origin -- a graphene:point3d-t instance for the origin of the ray direction -- a graphene:vec3-t instance for the direction vector Return ValueThe initialized graphene:ray-t instance. Details Initializes the given graphene:ray-t instance using the given
origin and direction values.
The direction vector is normalized. | See also |
2025-4-7