# sphericalDistribution

Computes the distance the nearest of N points distributed over a sphere. The x, y, and z coordinates of the result is the nearest point, and w is the distance to it.

vec4 sphericalDistribution( vec3 p, float n );

# Example