Go to the documentation of this file.
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);
Real dot(const Vector3 &g, Real x, Real y, Real z) const
Dot product of a gradient with the given values.
void init(unsigned long definedSeed)
Initializes the SimplexNoise instance.
SimplexNoise(unsigned long definedSeed)
Constructor with a by seed defined permutation table.
static Real G3
Skewing and unskewing factor for 3 dimensions.
SimplexNoise(void)
Constructor with a random permutation table.
unsigned long random(void)
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu....
#define _OgreVolumeExport
Real noise(Real xIn, Real yIn, Real zIn) const
3D noise function.
float Real
Software floating point type.
static Real F3
Skewing and unskewing factor for 3 dimensions.
Standard 3-dimensional vector.
long getSeed(void) const
Gets the current seed.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.