C# Class NoiseMeasuring.ImprovedPerlinNoise

The class generates improved Perlin noise. http://mrl.nyu.edu/~perlin/noise/
Datei anzeigen Open project: willcraftia/TestXna Class Usage Examples

Public Methods

Method Description
GetValue ( float x, float y, float z ) : float
Reseed ( ) : void

Private Methods

Method Description
CalculateFadeCurve ( float t ) : float
CalculateGradient ( int hash, float x, float y, float z ) : float
InitializePermutationTables ( ) : void

Method Details

GetValue() public method

public GetValue ( float x, float y, float z ) : float
x float
y float
z float
return float

Reseed() public method

public Reseed ( ) : void
return void