Exemple #1
0
static inline int RandomRange( double min, double max )
{
	const double kMinRand = 0.0;
	const double kMaxRand = 32767.0;
	double x;
	
	x = (internalRandom() - kMinRand) / (kMaxRand - kMinRand + 1.0);
	return (int) (x * (max + 1.0 - min) + min);
}
QImage QHotLoadImageBay::random() {
    internalRandom();
    this->dirHint.store(D_RANDOM);
    return current();
}