Clamps a point within the sphere, writing the result into target. If the point is outside the sphere, it is clamped to the closest point on the edge of the sphere. Points already inside the sphere are not affected.
target.