summaryrefslogtreecommitdiffstats
path: root/src/FastRandom.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2015-03-14 01:59:53 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2015-03-14 01:59:53 +0100
commite94886c14068eb3b9f70e4ec4ae02b7f832b8fdc (patch)
treeacbad702bb021448d18274e2f981587fdd918927 /src/FastRandom.h
parentMerge pull request #1809 from flx5/master (diff)
downloadcuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.gz
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.bz2
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.lz
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.xz
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.tar.zst
cuberite-e94886c14068eb3b9f70e4ec4ae02b7f832b8fdc.zip
Diffstat (limited to 'src/FastRandom.h')
-rw-r--r--src/FastRandom.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/FastRandom.h b/src/FastRandom.h
index 64a087c97..30395a293 100644
--- a/src/FastRandom.h
+++ b/src/FastRandom.h
@@ -36,16 +36,10 @@ public:
/** Returns a random int in the range [0 .. a_Range - 1]; a_Range must be less than 1M */
int NextInt(int a_Range);
-
- /** Returns a random int in the range [0 .. a_Range - 1]; a_Range must be less than 1M; a_Salt is additional source of randomness */
- int NextInt(int a_Range, int a_Salt);
/** Returns a random float in the range [0 .. a_Range]; a_Range must be less than 1M */
float NextFloat(float a_Range);
- /** Returns a random float in the range [0 .. a_Range]; a_Range must be less than 1M; a_Salt is additional source of randomness */
- float NextFloat(float a_Range, int a_Salt);
-
/** Returns a random float between 0 and 1. */
float NextFloat(void) { return NextFloat(1); }