Code:
int rand7()
{
float r7=0;

for(int i=0; i<7; i++)
{
r7+=rand5();
}

return int((r7/7)*2);
}



This ought to work unless I'm deluding myself.. however its probably not very elegant.. like all my code


Sphere Engine--the premier A6 graphics plugin.