Package: graphene

Function graphene:ray-distance-to-plane

Lambda List

graphene:ray-distance-to-plane (ray plane)

Arguments

ray -- a graphene:ray-t instance
plane -- a graphene:plane-t instance

Return Value

The float with the distance of the origin of the ray from the plane

Details

Computes the distance of the origin of the given ray from the given plane. If the ray does not intersect the plane, this function returns INFINITY.
 

See also

#2023-12-6