34#define _def_PackedNoise true
58 mTime += timeSinceLastFrame;
float mC
Speed (calculated)
Ogre::Vector2 mDir
Direction (must be normalised)
void update(const Ogre::Real &timeSinceLastFrame)
Call it each frame.
Wave(Ogre::Vector2 dir, float A, float T, float p=0.f)
Default constructor.
float mK
Dispersion factor.
float mL
Longitude (calculated)
double mTime
Elapsed time.
float getValue(const float &x, const float &y)
Get the especified x/y noise value.