Package: graphene

Function graphene:ray-intersect-box

Lambda List

graphene:ray-intersect-box (ray box)

Syntax

(graphene:ray-intersect-box ray box) => kind, dist

Arguments

ray -- a graphene:ray-t instance
box -- a graphene:box-t instance
kind}{a @sym{graphene:ray-intersection-kind-t} value} @argument[dist -- a single float for the distance of the point on the ray that intersects the box

Details

Intersects the given ray with the given box.
 

See also

#2025-08-09