Searched refs:trueWeight (Results 1 – 1 of 1) sorted by relevance
158 inline bool getWeightedBool (de::Random& random, float trueWeight) in getWeightedBool() argument160 DE_ASSERT(de::inRange<float>(trueWeight, 0.0f, 1.0f)); in getWeightedBool()161 return (random.getFloat() < trueWeight); in getWeightedBool()