[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

C.4.13 Random Number Generator Changes

The global function csFastRandFloat() has been retired. In its stead is the new instantiable class ‘csRandomFloatGen’, which is modeled after the ‘csRandomGen’ class. Unlike the old csFastRandFloat() function which was shared by all clients, instances of ‘csRandomFloatGen’ can be controlled and seeded individually, thus making it far more flexible and useful. (Note that the more general-purpose ‘csRandomGen’ class is also able to vend floating point numbers.)


This document was generated using texi2html 1.76.