aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/math/random.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-02-11 11:29:07 +0800
committerchai <chaifix@163.com>2020-02-11 11:29:07 +0800
commit160e1299ef3d95f8e8c48706d7f61dd3dc6c6b60 (patch)
treeabe5ae5242d9cc6caf6edf103e662c44e978fca0 /src/libjin/math/random.h
parente095043485d1d298571af6d9eca7f0db9009ea7a (diff)
*修改 tab大小HEADmaster
Diffstat (limited to 'src/libjin/math/random.h')
-rw-r--r--src/libjin/math/random.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libjin/math/random.h b/src/libjin/math/random.h
index 1eb22c4..f2fbe22 100644
--- a/src/libjin/math/random.h
+++ b/src/libjin/math/random.h
@@ -5,29 +5,29 @@
namespace JinEngine
{
- namespace Math
- {
+ namespace Math
+ {
- ///
- /// A random number generator.
- ///
- class RandomGenerator
- {
- public:
- RandomGenerator(uint32 seed);
+ ///
+ /// A random number generator.
+ ///
+ class RandomGenerator
+ {
+ public:
+ RandomGenerator(uint32 seed);
- uint32 rand();
+ uint32 rand();
- uint32 rand(uint32 min, uint32 max);
+ uint32 rand(uint32 min, uint32 max);
- float randf(float min, float max, int ac);
+ float randf(float min, float max, int ac);
- private:
- uint32 mSeed;
+ private:
+ uint32 mSeed;
- };
+ };
- } // namespace Math
+ } // namespace Math
} // namespace JinEngine
#endif \ No newline at end of file