From 660eea8cf4c21cbaf0b11e4800aa38fb83afb895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Tue, 24 Oct 2017 02:01:10 +0200 Subject: BLI_rand : add BLI_halton_3D --- source/blender/blenlib/BLI_rand.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib/BLI_rand.h') diff --git a/source/blender/blenlib/BLI_rand.h b/source/blender/blenlib/BLI_rand.h index 0ef971bf41f..69b23b2473f 100644 --- a/source/blender/blenlib/BLI_rand.h +++ b/source/blender/blenlib/BLI_rand.h @@ -106,6 +106,7 @@ int BLI_rng_thread_rand(RNG_THREAD_ARRAY *rngarr, int thread) ATTR_WARN_UNUSED /** Return the _n_th number of the given low-discrepancy sequence. */ void BLI_halton_1D(unsigned int prime, double offset, int n, double *r); void BLI_halton_2D(unsigned int prime[2], double offset[2], int n, double *r); +void BLI_halton_3D(unsigned int prime[3], double offset[3], int n, double *r); void BLI_hammersley_1D(unsigned int n, double *r); /** Return the whole low-discrepancy sequence up to _n_. */ -- cgit v1.2.3