pfuRandomFloat man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



pfuRandom(3pf)		      OpenGL Performer 3.2.2 libpfutil Reference Pages

NAME
     pfuRandomize, pfuRandomLong, pfuRandomFloat, pfuRandomColor - Set up and
     generate random numbers and colors.

FUNCTION SPECIFICATION
     #include <Performer/pfutil.h>

     void    pfuRandomize(int seed);

     long    pfuRandomLong(void);

     float   pfuRandomFloat(void);

     void    pfuRandomColor(pfVec4 color, float minColor, float maxColor);

DESCRIPTION
     These functions set up a random number generator and use it to return
     uniformly distributed random numbers and colors.

     pfuRandomize initializes the random number generator with seed.

     pfuRandomLong returns a random number of type long while pfuRandomFloat
     returns a random number of type float.

     pfuRandomColor returns a random color in color. The r, g and b values of
     color are random numbers in the range [minColor, maxColor]. The alpha
     value of color is set to the fully opaque value 1.

     See the srandom and random man pages for further information on the
     random number generator used.

SEE ALSO
     random, srandom

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net