aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/math/random.h
diff options
context:
space:
mode:
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