Lines Matching defs:minDiff
1512 const T minDiff = minValue<T>() > minQuadSize
1515 const T maxRounded = roundTo(minDiff, max);
1523 x1 = roundTo(minDiff, getRandom<T>(rnd, min, maxRounded - minDiff));
1524 x2 = roundTo(minDiff, getRandom<T>(rnd, x1 + minDiff, maxRounded));
1526 y1 = roundTo(minDiff, getRandom<T>(rnd, min, maxRounded - minDiff));
1527 y2 = roundTo(minDiff, getRandom<T>(rnd, y1 + minDiff, maxRounded));
1530 if (x2 < x1 + minDiff) x2 = x1 + minDiff;
1531 if (y2 < y1 + minDiff) y2 = y1 + minDiff;
1533 z = (componentCount > 2) ? roundTo(minDiff, (getRandom<T>(rnd, min, max))) : (T::create(0));
1534 w = (componentCount > 3) ? roundTo(minDiff, (getRandom<T>(rnd, min, max))) : (T::create(1));
1537 DE_ASSERT((deFloatAbs(x2.template to<float>() - x1.template to<float>()) >= minDiff.template to<float>() * 0.8f) &&
1538 (deFloatAbs(y2.template to<float>() - y1.template to<float>()) >= minDiff.template to<float>() * 0.8f));