Function random_unit_vector

Source
pub fn random_unit_vector() -> Vec3
Expand description

Returns a random point on the unit sphere surface (true Lambertian reflection).