home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AI Game Programming Wisdom
/
AIGameProgrammingWisdom.iso
/
SourceCode
/
06 General Architectures
/
04 Christian
/
util.cpp
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2001-09-15
|
111 b
|
8 lines
#include "util.h"
#include "stdlib.h"
float frand ()
{
return ((float)rand() / (float)RAND_MAX);
}