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()
71 bool operator== (const Random& other) const;
72 bool operator!= (const Random& other) const;
80 inline float Random::getFloat (float min, float max) in getFloat()
86 inline double Random::getDouble (double min, double max) in getDouble()
92 inline int Random::getInt (int min, int max) in getInt()
104 void Random::choose (InputIter first, InputIter last, OutputIter result, int numItems) in choose()
127 T Random::choose (InputIter first, InputIter last) in choose()
136 T Random::chooseWeighted (InputIter first, InputIter last, WeightIter weight) in chooseWeighted()
167 void Random::shuffle (Iterator first, Iterator last) in shuffle()
181 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
182 template<> inline float randomScalar (de::Random& rnd, float minValue, float maxValue) { return … in randomScalar()
183 template<> inline deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { re… in randomScalar()
184 template<> inline deUint32 randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { … in randomScalar()