Rename distanceToSegment to distanceSqToSegment.
Use the optionalTarget for Ray.closestPointToPoint.
We do the line-picking in local space.
Refactored helpers.
Merge remote-tracking branch 'stephomi/dev-ray' into dev
Updated builds.