Il codice giusto é questo (testato ;-) ):


codice:
//noise maker
float noise_tick()  //  Return random float between -1.0 and 1.0
{
	float output;
	output = (float)rand() - RAND_MAX/2.;
	output *= ONE_OVER_RANDLIMIT*2;
	return output;
}
Rimangono le domande di prima.....help