diff options
| author | Bryan Galdrikian <[email protected]> | 2017-02-24 09:32:20 -0800 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2017-02-24 09:32:20 -0800 |
| commit | e1bf674c16e3c8472b29574159c789cd3f0c64e0 (patch) | |
| tree | 9f0cfce09c71a2c27ff19589fcad6cd83504477c /NvBlast/tools/AuthoringTool/src/SimpleRandomGenerator.h | |
| parent | first commit (diff) | |
| download | blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.tar.xz blast-e1bf674c16e3c8472b29574159c789cd3f0c64e0.zip | |
Updating to [email protected] and [email protected] with a new directory structure.
NvBlast folder is gone, files have been moved to top level directory. README is changed to reflect this.
Diffstat (limited to 'NvBlast/tools/AuthoringTool/src/SimpleRandomGenerator.h')
| -rw-r--r-- | NvBlast/tools/AuthoringTool/src/SimpleRandomGenerator.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/NvBlast/tools/AuthoringTool/src/SimpleRandomGenerator.h b/NvBlast/tools/AuthoringTool/src/SimpleRandomGenerator.h deleted file mode 100644 index 63e2d45..0000000 --- a/NvBlast/tools/AuthoringTool/src/SimpleRandomGenerator.h +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once -#include "NvBlastExtAuthoringTypes.h" - - -class SimpleRandomGenerator : public Nv::Blast::RandomGeneratorBase -{ -public: - SimpleRandomGenerator() { - remember = false; - }; - - virtual float getRandomValue() - { - float r = (float)rand(); - r = r / RAND_MAX; - return r; - } - virtual void seed(int32_t seed) - { - srand(seed); - } - - virtual ~SimpleRandomGenerator() {}; - -private: - bool remember; -};
\ No newline at end of file |