C# Class NewTOAPIA.Graphics.Noise

Exibir arquivo Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
Noise1 ( float x ) : float
Noise2 ( float x, float y ) : float
Noise3 ( float x, float y, float z ) : float
Noise4 ( float x, float y, float z, float w ) : float

Private Methods

Method Description
FASTFLOOR ( float x ) : int
grad1 ( int hash, float x ) : float
grad2 ( int hash, float x, float y ) : float
grad3 ( int hash, float x, float y, float z ) : float
grad4 ( int hash, float x, float y, float z, float t ) : float

Method Details

Noise1() public static method

public static Noise1 ( float x ) : float
x float
return float

Noise2() public static method

public static Noise2 ( float x, float y ) : float
x float
y float
return float

Noise3() public static method

public static Noise3 ( float x, float y, float z ) : float
x float
y float
z float
return float

Noise4() public static method

public static Noise4 ( float x, float y, float z, float w ) : float
x float
y float
z float
w float
return float