GeometrySingleton.segmentIntersectsTriangle

Tests if the segment (from, to) intersects the triangle a, b, c. If yes, returns the point of intersection as Vector3. If no intersection takes place, an empty Variant is returned.

struct GeometrySingleton
@nogc nothrow
Variant
segmentIntersectsTriangle
(
in Vector3 from
,
in Vector3 to
,
in Vector3 a
,
in Vector3 b
,
in Vector3 c
)

Meta