RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Attributes
SkyX::VClouds::FastFakeRandom Class Reference

#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...
 

Detailed Description

Definition at line 31 of file FastFakeRandom.h.

Constructor & Destructor Documentation

◆ FastFakeRandom()

SkyX::VClouds::FastFakeRandom::FastFakeRandom ( const int &  n,
const Ogre::Real &  min,
const Ogre::Real &  max 
)

Constructor.

Parameters
nCapacity
minMin value
maxMax value

Definition at line 28 of file FastFakeRandom.cpp.

◆ ~FastFakeRandom()

SkyX::VClouds::FastFakeRandom::~FastFakeRandom ( )

Destructor.

Definition at line 40 of file FastFakeRandom.cpp.

Member Function Documentation

◆ get()

float & SkyX::VClouds::FastFakeRandom::get ( )

Get random number.

Definition at line 45 of file FastFakeRandom.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ mCapacity

int SkyX::VClouds::FastFakeRandom::mCapacity
private

Capacity.

Definition at line 53 of file FastFakeRandom.h.

◆ mData

float* SkyX::VClouds::FastFakeRandom::mData
private

Data pointer.

Definition at line 51 of file FastFakeRandom.h.

◆ mIndex

int SkyX::VClouds::FastFakeRandom::mIndex
private

Index.

Definition at line 55 of file FastFakeRandom.h.


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