GeometrySingleton.segmentIntersectsConvex

Given a convex hull defined though the Planes in the array planes, tests if the segment (from, to) intersects with that hull. If an intersection is found, returns a PoolVector3Array containing the point the intersection and the hull's normal. If no intersecion is found, an the returned array is empty.

struct GeometrySingleton
@nogc nothrow
PoolVector3Array
segmentIntersectsConvex
(
in Vector3 from
,
in Vector3 to
,
in Array planes
)

Meta