Ray.intersectTriangle

graphene.types.RayIntersectionKind intersectTriangle(graphene.triangle.Triangle t, out float tOut) nothrow

Intersects the given #graphene_ray_t r with the given #graphene_triangle_t t.

Parameters

ta #graphene_triangle_t
tOutthe distance of the point on the ray that intersects the triangle

Returns

the type of intersection