#include <perlin_noise.h>
Static Public Member Functions | |
static double | fade (double t) |
static double | grad (int hash, double x, double y, double z) |
static double | lerp (double t, double a, double b) |
static double | Noise (double x, double y, double z) |
static int | P (int i) |
Definition at line 35 of file perlin_noise.h.
static double vcg::math::Perlin::fade | ( | double | t | ) | [inline, static] |
Definition at line 63 of file perlin_noise.h.
static double vcg::math::Perlin::grad | ( | int | hash, |
double | x, | ||
double | y, | ||
double | z | ||
) | [inline, static] |
Definition at line 65 of file perlin_noise.h.
static double vcg::math::Perlin::lerp | ( | double | t, |
double | a, | ||
double | b | ||
) | [inline, static] |
Definition at line 64 of file perlin_noise.h.
static double vcg::math::Perlin::Noise | ( | double | x, |
double | y, | ||
double | z | ||
) | [inline, static] |
3D Perlin noise return a value in the -1..1 range with period 255
Definition at line 41 of file perlin_noise.h.
static int vcg::math::Perlin::P | ( | int | i | ) | [inline, static] |
Definition at line 71 of file perlin_noise.h.