Package: graphene

Function graphene:ray-intersect-triangle

Lambda List

graphene:ray-intersect-triangle (ray triangle)

Arguments

ray -- a graphene:ray-t instance
box -- a graphene:triangle-t instance

Return Value

kind -- a graphene:ray-intersection-kind-t value
dist -- a float with the distance of the point on the ray that intersects the triangle

Details

Intersects the given ray with the given triangle.
 

See also

#2023-12-6