Lines Matching refs:minVal
187 int minVal = minIntVal + rnd.getInt(0, maxRangeLen-rangeLen);
188 int maxVal = minVal + rangeLen;
190 valueRange.getMin().component(ndx).asInt() = minVal;
209 float minVal = minFloatVal + step*(float)minStep;
210 float maxVal = minVal + step*(float)rangeLen;
212 valueRange.getMin().component(ndx).asFloat() = minVal;
362 float minVal = -10.0f;
368 minVal = valueRange.getMin().component(0).asFloat();
371 if (Scalar::min<float>() == minVal)
372 minVal = -10.0f;
378 int numSteps = (int)((maxVal-minVal)/step) + 1;
380 const float value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minVal, maxVal);
393 float minVal = valueRange.getMin().asFloat();
396 if (Scalar::min<float>() == minVal && Scalar::max<float>() == maxVal)
400 float rangeLength = maxVal - minVal;
420 int minVal = -16;
425 minVal = valueRange.getMin().component(0).asInt();
428 if (Scalar::min<int>() == minVal)
429 minVal = -16;
435 int value = state.getRandom().getInt(minVal, maxVal);
448 int minVal = valueRange.getMin().asInt();
451 if (Scalar::min<int>() == minVal && Scalar::max<int>() == maxVal)
454 int rangeLength = maxVal - minVal;
474 int minVal = 0;
479 minVal = valueRange.getMin().component(0).asBool() ? 1 : 0;
483 bool value = state.getRandom().getInt(minVal, maxVal) == 1;