GeometrySingleton.segmentIntersectsCylinder

Checks if the segment (from, to) intersects the cylinder with height height that is centered at the origin and has radius radius. If no, returns an empty PoolVector3Array. If an intersection takes place, the returned array contains the point of intersection and the cylinder's normal at the point of intersection.

struct GeometrySingleton
@nogc nothrow
PoolVector3Array
segmentIntersectsCylinder
(
in Vector3 from
,
in Vector3 to
,
in double height
,
in double radius
)

Meta