Ninja Library - Mathematical Function

njRandomSeed

Sets the random number seed

FORMAT

void njRandomSeed( n )
Uint32 n

PARAMETER

 n  Random number seed 

RETURN

None

DESCRIPTION

Sets the specified arbitrary integer n as the random number seed.

EXAMPLE

Float ret;
	:
njRandomSeed( (unsigned)time( NULL ) );
ret = njRandom();

REFERENCE

njRandom()

njRandomSeed
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999