What is the complete code (C#, pseudo, does not matter) for calculating the resulting segment (or its absence) for the intersection of the segmentasegment and thea cylinder?
The segment is defined by Vector3(x,y,z) as Start and Vector3(x,y,z) as End.
The cylinder is defined by the same parameters plus floating-pointa value asfor Radius.