MGL_srand

Reseed MGL random number generator.

Declaration

void MGLAPI MGL_srand(
uint seed)

Prototype In

mgraph.h

Parameters

seed | New seed value for the random number generator

Description

This function reseeds the random number generator to start generating a new sequence of numbers. Generally this function is used to randomize the generator by seeding it with the value obtained from the MGL_getTicks function.

See Also

MGL_random, MGL_randoml

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com