 |
Irrlicht 3D Engine
|
|
Go to the documentation of this file.
5 #ifndef __I_RANDOMIZER_H_INCLUDED__
6 #define __I_RANDOMIZER_H_INCLUDED__
19 virtual void reset(
s32 value=0x0f0f0f0f) =0;
virtual s32 rand() const =0
generates a pseudo random number in the range 0..randMax()
virtual void reset(s32 value=0x0f0f0f0f)=0
resets the randomizer
signed int s32
32 bit signed variable.
virtual f32 frand() const =0
generates a pseudo random number in the range 0..1
Base class of most objects of the Irrlicht Engine.
float f32
32 bit floating point variable.
Interface for generating random numbers.
virtual s32 randMax() const =0
get maxmimum number generated by rand()
Everything in the Irrlicht Engine can be found in this namespace.