GizmoMath::NearestPointOnLineToRay

Find the closest pair of points on a 3D line and 3D ray.