Function random_in_unit_sphere

Source
pub fn random_in_unit_sphere() -> Vec3
Expand description

Returns a random point inside the unit sphere (rejection method).