VRageMath.BoundingSphereD.RandomToUniformPointInSphere - bimbam2103/space_engineers GitHub Wiki
← Index ← Namespace Index ← BoundingSphereD
public Vector3D RandomToUniformPointInSphere(double ranX, double ranY, double ranZ)
If ranX, ranY, ranZ are uniformly distributed across ranges <0,1>, Resulting point will be uniformly distributed inside sphere