Go to the documentation of this file.
28 #ifndef __Ogre_Simplex_Noise_H__
29 #define __Ogre_Simplex_Noise_H__
65 unsigned long random(
void);
81 return g.
x * x + g.
y * y + g.
z * z;
86 void init(
unsigned long definedSeed);
116 long getSeed(
void)
const;
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.
Simplex Noise ported from public domain Java Implementation http://webstaff.itn.liu....
#define _OgreVolumeExport
float Real
Software floating point type.
static Real F3
Skewing and unskewing factor for 3 dimensions.
Standard 3-dimensional vector.
Copyright © 2012 Torus Knot Software Ltd

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