Graphmath.Vec3.random_sphere
You're seeing just the function
random_sphere
, go back to Graphmath.Vec3 module for more information.
Link to this function
random_sphere()
Specs
random_sphere() :: vec3()
random_sphere()
gives a point at or within unit distance of the origin, using this polar method.
Another really nice exploration of this is here.
It returns a vec3 within at most unit distance of the origin.