[][src]Module arctk::math::rng::distribution

Distribution functions.

Functions

rand_circle_point

Sample points within a circle using the golden ratio.

rand_hemisphere_point

Sample points on a hemisphere's surface using the golden ratio.

rand_isotropic_dir

Create a random unit vector.

rand_sphere_point

Sample points on a sphere's surface using the golden ratio.

sample_gaussian

Sample a gaussian distribution.

sample_henyey_greenstein

Sample the Henyey-Greenstein phase function with a given asymmetry parameter.

sample_normal

Sample the normal distribution.