diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 12:12:19 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-14 12:12:19 +0400 |
commit | 8d96ea832247e4c457bb0f080c079e639a11c405 (patch) | |
tree | 630d72badbeddc80a2a2b1292ff8d1f9f9cbca36 /source/blender/blenlib/BLI_rand.h | |
parent | b54793ef0265e5a93678e0f900948a17669185a9 (diff) |
BLI_rand: add BLI_rng_get_float_unit_v2
Diffstat (limited to 'source/blender/blenlib/BLI_rand.h')
-rw-r--r-- | source/blender/blenlib/BLI_rand.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_rand.h b/source/blender/blenlib/BLI_rand.h index 045cadbcc6f..50ab50e449a 100644 --- a/source/blender/blenlib/BLI_rand.h +++ b/source/blender/blenlib/BLI_rand.h @@ -50,6 +50,7 @@ int BLI_rng_get_int(struct RNG *rng); unsigned int BLI_rng_get_uint(struct RNG *rng); double BLI_rng_get_double(struct RNG *rng); float BLI_rng_get_float(struct RNG *rng); +void BLI_rng_get_float_unit_v2(struct RNG *rng, float v[2]); void BLI_rng_get_float_unit_v3(struct RNG *rng, float v[3]); void BLI_rng_shuffle_array(struct RNG *rng, void *data, unsigned int elem_size_i, unsigned int elem_tot); |