Package: graphene

Function graphene:ray-intersect-triangle

Lambda List

graphene:ray-intersect-triangle (ray triangle)

Syntax

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

Arguments

ray -- a graphene:ray-t instance
box -- a graphene:triangle-t instance
kind -- a graphene:ray-intersection-kind-t value
dist -- a single float for the distance of the point on the ray that intersects the triangle

Details

Intersects the given ray with the given triangle.
 

See also

#2025-08-09