From 160e1299ef3d95f8e8c48706d7f61dd3dc6c6b60 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 11 Feb 2020 11:29:07 +0800 Subject: =?UTF-8?q?*=E4=BF=AE=E6=94=B9=20tab=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/math/random.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/libjin/math/random.h') 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 -- cgit v1.1-26-g67d0