#include "perlin.h"Include dependency graph for perlin.cc:

Go to the source code of this file.
Namespaces | |
| namespace | NUM |
Defines | |
| #define | s_curve(t) ( t * t * (T(3.0) - T(2.0) * t) ) |
| #define | lerp(t, a, b) ( a + t * (b - a) ) |
| #define | setup(i, b0, b1, r0, r1) |
| #define | at2(rx, ry) ( rx * q[0] + ry * q[1] ) |
| #define | at3(rx, ry, rz) ( rx * q[0] + ry * q[1] + rz * q[2] ) |
|
|
Referenced by NUM::NoiseGenerator_Perlin< T >::noise2(). |
|
|
Referenced by NUM::NoiseGenerator_Perlin< T >::noise3(). |
|
|
|
|
|
Definition at line 79 of file perlin.cc. Referenced by NUM::NoiseGenerator_Perlin< T >::noise1(), NUM::NoiseGenerator_Perlin< T >::noise2(), and NUM::NoiseGenerator_Perlin< T >::noise3(). |
|
|
Value: t = vc[i] + N;\
b0 = ((int)t) & (B-1);\
b1 = (b0+1) & (B-1);\
r0 = t - (int)t;\
r1 = r0 - 1.;
Definition at line 83 of file perlin.cc. Referenced by NUM::NoiseGenerator_Perlin< T >::noise1(). |
1.3.5