Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-07-20 07:33:44 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-07-20 07:33:44 +0400
commitba28fc489aab45968152153dd46e87a8a11f7e64 (patch)
tree864269ef9026835e6674d72bd5faf1b98dc0388d /source/blender/blenlib/BLI_rand.h
parent87e76e85609e53753e271cc4d1591c6d86cf55ce (diff)
- added an array shuffling function to BLI_rand
Diffstat (limited to 'source/blender/blenlib/BLI_rand.h')
-rw-r--r--source/blender/blenlib/BLI_rand.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_rand.h b/source/blender/blenlib/BLI_rand.h
index 6513dea8115..c352016ff53 100644
--- a/source/blender/blenlib/BLI_rand.h
+++ b/source/blender/blenlib/BLI_rand.h
@@ -65,5 +65,8 @@ void BLI_storerand (unsigned int loc_r[2]);
*/
void BLI_restorerand (unsigned int loc[2]);
+ /** Shuffle an array randomly using the given seed. */
+void BLI_array_randomize (void *data, int elemSize, int numElems, unsigned int seed);
+
#endif