MathUtils: getShortestDistance()