Explanation:
the distance between 3D points is basically following the same principle as in 2D.
we sum the squares of the x-, y- and z- coordinates and pull the square root of that sum.
distance² = (4 - -3)² + (7 - 5)² + (10 - -1)² = 49 + 4 + 121 =
= 174
distance = sqrt(174) = 13.19090596... ≈ 13.19