C# Class Ballz.Utils.PerlinNoise

Datei anzeigen Open project: SpagAachen/Ballz

Public Methods

Method Description
Noise ( float x, float y ) : float
PerlinNoise ( ) : System
Reseed ( ) : void

generate a new permutation.

Private Methods

Method Description
CalculateGradients ( Vector2 &grad ) : void
CalculatePermutation ( int &p ) : void
Drop ( float t ) : float
Q ( float u, float v ) : float

Method Details

Noise() public method

public Noise ( float x, float y ) : float
x float
y float
return float

PerlinNoise() public method

public PerlinNoise ( ) : System
return System

Reseed() public method

generate a new permutation.
public Reseed ( ) : void
return void