#include <noise.h>
Inheritance diagram for PerlinNoiseCommon:

Public Member Functions | |
| PerlinNoiseCommon (DBL stddev) | |
| DBL | evalN (const Vector3 &p) const |
| DBL | eval01 (const Vector3 &p) const |
Protected Member Functions | |
| DBL | evaluate (const Vector3 &point) const |
| DBL | sCurve (DBL v) const |
| DBL | linInterp (DBL t, DBL a, DBL b) const |
| void | setupValues (DBL comp, int &gridIdx0, int &gridIdx1, DBL &dist0, DBL &dist1) const |
Protected Attributes | |
| const DBL | STDDEV |
| unsigned int | permutationTbl [514] |
| Vector3 | gradTbl [514] |
|
|
Noise in the range [0,1] Implements Noise< Vector3, DBL >.
|
|
|
Standard normal distributed noise Implements Noise< Vector3, DBL >.
|
|
|
Is approximatly normal distributed with mean 0 and standard deviation STDDEV (this value is measured empirically and not analytically) |
|
|
Permutation table |
1.3.8