Pyrogenesis
trunk
|
#include <Noise.h>
Public Member Functions | |
Noise2D (int freq) | |
~Noise2D () | |
float | operator() (float x, float y) |
Evaluate the noise function at a given point. More... | |
Private Member Functions | |
NONCOPYABLE (Noise2D) | |
Private Attributes | |
int | freq |
Frequency in X and Y. More... | |
CVector2D ** | grads |
freq*freq random gradient vectors in the unit cube More... | |
Noise2D::Noise2D | ( | int | freq | ) |
Noise2D::~Noise2D | ( | ) |
|
private |
float Noise2D::operator() | ( | float | x, |
float | y | ||
) |
Evaluate the noise function at a given point.
|
private |
Frequency in X and Y.
|
private |
freq*freq random gradient vectors in the unit cube