28#ifndef __Ogre_Simplex_Noise_H__
29#define __Ogre_Simplex_Noise_H__
81 return g.
x * x + g.
y * y + g.
z * z;
86 void init(
unsigned long definedSeed);
#define _OgreVolumeExport
Standard 3-dimensional vector.
unsigned long random(void)
Real noise(Real xIn, Real yIn, Real zIn) const
3D noise function.
long getSeed(void) const
Gets the current seed.
SimplexNoise(void)
Constructor with a random permutation table.
short perm[512]
Permutation table.
static Real F3
Skewing and unskewing factor for 3 dimensions.
SimplexNoise(unsigned long definedSeed)
Constructor with a by seed defined permutation table.
Real dot(const Vector3 &g, Real x, Real y, Real z) const
Dot product of a gradient with the given values.
static Real G3
Skewing and unskewing factor for 3 dimensions.
short permMod12[512]
Permutation table modulo 12.
void init(unsigned long definedSeed)
Initializes the SimplexNoise instance.
float Real
Software floating point type.