RigsofRods
Soft-body Physics Simulation
|
#include <FastFakeRandom.h>
Public Member Functions | |
FastFakeRandom (const int &n, const Ogre::Real &min, const Ogre::Real &max) | |
Constructor. More... | |
~FastFakeRandom () | |
Destructor. More... | |
float & | get () |
Get random number. More... | |
Private Attributes | |
float * | mData |
Data pointer. More... | |
int | mCapacity |
Capacity. More... | |
int | mIndex |
Index. More... | |
Definition at line 31 of file FastFakeRandom.h.
SkyX::VClouds::FastFakeRandom::FastFakeRandom | ( | const int & | n, |
const Ogre::Real & | min, | ||
const Ogre::Real & | max | ||
) |
Constructor.
n | Capacity |
min | Min value |
max | Max value |
Definition at line 28 of file FastFakeRandom.cpp.
SkyX::VClouds::FastFakeRandom::~FastFakeRandom | ( | ) |
Destructor.
Definition at line 40 of file FastFakeRandom.cpp.
float & SkyX::VClouds::FastFakeRandom::get | ( | ) |
Get random number.
Definition at line 45 of file FastFakeRandom.cpp.
|
private |
Capacity.
Definition at line 53 of file FastFakeRandom.h.
|
private |
Data pointer.
Definition at line 51 of file FastFakeRandom.h.
|
private |
Index.
Definition at line 55 of file FastFakeRandom.h.