乱数クラス
More...
#include <limits.h>
Go to the source code of this file.
乱数クラス
- Author
- Copyright (C)2009 SiliconStudio Inc. All rights reserved.
-
Tahir Arai
◆ GX_DRAND
Value:
GX_FORCE_INLINE f64 getRandomF64(void)
乱数生成(64bit浮動少数)
Definition GxRandom.h:48
static GxThread * getCurrentThread(void)
カレントスレッドを取得
Definition GxThread.cpp:505
constexpr GxRandom * getRandomGenerator(void) const
乱数発生器を取得
Definition GxThread.h:259
◆ GX_FRAND
Value:
GX_FORCE_INLINE f32 getRandomF32(void)
乱数生成(32bit浮動少数)
Definition GxRandom.h:44
◆ GX_FRAND_MIN_MAX
#define GX_FRAND_MIN_MAX |
( |
| min, |
|
|
| max ) |
◆ GX_RAND
Value:
virtual u32 getRandomU32(void)=0
乱数生成(整数)
◆ GX_SET_RANDOM_SEED
#define GX_SET_RANDOM_SEED |
( |
| seed | ) |
|
Value:
virtual void initialize(u32 seed)=0
初期化