Module vox_geometry_rust::samplers[][src]

Functions

cosine_weighted_sample_hemisphere

Returns weighted sampled point on a hemisphere.

uniform_sample_cone

Returns randomly sampled direction within a cone.

uniform_sample_disk

Returns randomly a point on a disk.

uniform_sample_hemisphere

Returns randomly sampled point within a unit hemisphere.

uniform_sample_sphere

Returns randomly a point on a sphere.