rand#

classmethod Vec3.rand(d0, d1, ..., dn)#

Return a sample (or samples) from the uniform spherical distribution.