#include <PerlinNoise.h>
|
| | PerlinNoise () |
| | Initialize with the reference values for the permutation vector.
|
| |
| | PerlinNoise (unsigned int seed) |
| | Generate a new permutation vector based on the value of seed.
|
| |
| float | noise (float x, float y, float z) const |
| |
| float | noise (float x, float y) const |
| |
|
| float | fade (float t) const |
| |
| float | lerp (float t, float a, float b) const |
| |
| float | grad (int hash, float x, float y, float z) const |
| |
| float | grad (int hash, float x, float y) const |
| |
Definition at line 55 of file PerlinNoise.h.
◆ PerlinNoise() [1/2]
| PerlinNoise::PerlinNoise |
( |
| ) |
|
Initialize with the reference values for the permutation vector.
Definition at line 55 of file PerlinNoise.cpp.
References p.
◆ PerlinNoise() [2/2]
| PerlinNoise::PerlinNoise |
( |
unsigned int | seed | ) |
|
Generate a new permutation vector based on the value of seed.
Definition at line 80 of file PerlinNoise.cpp.
References p.
◆ fade()
| float PerlinNoise::fade |
( |
float | t | ) |
const |
|
private |
◆ grad() [1/2]
| float PerlinNoise::grad |
( |
int | hash, |
|
|
float | x, |
|
|
float | y ) const |
|
private |
◆ grad() [2/2]
| float PerlinNoise::grad |
( |
int | hash, |
|
|
float | x, |
|
|
float | y, |
|
|
float | z ) const |
|
private |
◆ lerp()
| float PerlinNoise::lerp |
( |
float | t, |
|
|
float | a, |
|
|
float | b ) const |
|
private |
◆ noise() [1/2]
| float PerlinNoise::noise |
( |
float | x, |
|
|
float | y ) const |
◆ noise() [2/2]
| float PerlinNoise::noise |
( |
float | x, |
|
|
float | y, |
|
|
float | z ) const |
| std::vector<int> PerlinNoise::p |
|
private |
The documentation for this class was generated from the following files: