HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_FastRandom Class Reference

#include <UT_FastRandom.h>

Public Member Functions

 UT_FastRandom ()
 
void setSeed (uint seed)
 
uint urandom ()
 Returns a random 32-bit unsigned integer. More...
 
float frandom ()
 Returns a random float between [0,1). More...
 

Detailed Description

Definition at line 22 of file UT_FastRandom.h.

Constructor & Destructor Documentation

UT_FastRandom::UT_FastRandom ( )
inline

Definition at line 25 of file UT_FastRandom.h.

Member Function Documentation

float UT_FastRandom::frandom ( )
inline

Returns a random float between [0,1).

Definition at line 57 of file UT_FastRandom.h.

void UT_FastRandom::setSeed ( uint  seed)
inline

Definition at line 30 of file UT_FastRandom.h.

uint UT_FastRandom::urandom ( )
inline

Returns a random 32-bit unsigned integer.

Definition at line 42 of file UT_FastRandom.h.


The documentation for this class was generated from the following file: