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

ファイルを表示 Open project: willcraftia/TestXna

Public Methods

Method 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 method

public static CalculateGradient ( int hash, float x, float y, float z ) : float
hash int
x float
y float
z float
return float

Floor() public static method

public static Floor ( float v ) : int
v float
return int

PassThrough() public static method

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

SCurve3() public static method

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

SCurve5() public static method

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