C# Class Willcraftia.Xna.Framework.Noise.NoiseHelper

Afficher le fichier Open project: willcraftia/TestXna

Méthodes publiques

Méthode Description
CalculateGradient ( int hash, float x, float y, float z ) : float
Floor ( float v ) : int
PassThrough ( float x ) : float
SCurve3 ( float x ) : float
SCurve5 ( float x ) : float

Method Details

CalculateGradient() public static méthode

public static CalculateGradient ( int hash, float x, float y, float z ) : float
hash int
x float
y float
z float
Résultat float

Floor() public static méthode

public static Floor ( float v ) : int
v float
Résultat int

PassThrough() public static méthode

public static PassThrough ( float x ) : float
x float
Résultat float

SCurve3() public static méthode

public static SCurve3 ( float x ) : float
x float
Résultat float

SCurve5() public static méthode

public static SCurve5 ( float x ) : float
x float
Résultat float