• Home
  • Raw
  • Download

Lines Matching refs:Random

38 class Random  class
41 Random (deUint32 seed) { deRandom_init(&m_rnd, seed); } in Random() function in de::Random
42 ~Random (void) {} in ~Random()
72 bool operator== (const Random& other) const;
73 bool operator!= (const Random& other) const;
81 inline float Random::getFloat (float min, float max) in getFloat()
87 inline double Random::getDouble (double min, double max) in getDouble()
93 inline int Random::getInt (int min, int max) in getInt()
105 void Random::choose (InputIter first, InputIter last, OutputIter result, int numItems) in choose()
128 T Random::choose (InputIter first, InputIter last) in choose()
137 T Random::chooseWeighted (InputIter first, InputIter last, WeightIter weight) in chooseWeighted()
168 void Random::shuffle (Iterator first, Iterator last) in shuffle()
182 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
183 template<> inline float randomScalar (de::Random& rnd, float minValue, float maxValue) { return … in randomScalar()
184 template<> inline deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { re… in randomScalar()
185 template<> inline deUint32 randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { … in randomScalar()
187 template<> inline deInt16 randomScalar (de::Random& rnd, deInt16 minValue, deInt16 maxValue) { re… in randomScalar()
188 template<> inline deUint16 randomScalar (de::Random& rnd, deUint16 minValue, deUint16 maxValue) { … in randomScalar()
189 template<> inline deInt8 randomScalar (de::Random& rnd, deInt8 minValue, deInt8 maxValue) { retu… in randomScalar()
190 template<> inline deUint8 randomScalar (de::Random& rnd, deUint8 minValue, deUint8 maxValue) { re… in randomScalar()