**Shortest distance between 2 lines drawn in 3D**
R1(t) = (x1(t), y1(t), z1(t)) // t is the independent variable for line 1
R2(s) = (x2(s), y2(s), z2(s)) // s is the independent variable for line 2
D = R1(t) - R2(s) // distance between anywhere on the 2 different lines
We...