G
Gernot Frisch
Hi,
does repeatingly doing this:
float num = GetRandomFloat();
for(;
{
float random = GetRandomFloat();
num*=random;
num/=random;
}
Will num stay the same?
What can I do to make it stay the same (FixFloat(&random) e.g?)
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
does repeatingly doing this:
float num = GetRandomFloat();
for(;
{
float random = GetRandomFloat();
num*=random;
num/=random;
}
Will num stay the same?
What can I do to make it stay the same (FixFloat(&random) e.g?)
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com