C# Class TinkerWorX.AccidentalNoiseLibrary.Utilities

Mostrar archivo Open project: TinkerWorX/AccidentalNoiseLibrary

Public Methods

Method Description
Bias ( Double bias, Double target ) : Double
Clamp ( Double value, Double low, Double high ) : Double
Clamp ( Int32 value, Int32 low, Int32 high ) : Int32
Gain ( Double g, Double t ) : Double
Lerp ( Double t, Double a, Double b ) : Double
QuinticBlend ( Double t ) : Double

Method Details

Bias() public static method

public static Bias ( Double bias, Double target ) : Double
bias Double
target Double
return Double

Clamp() public static method

public static Clamp ( Double value, Double low, Double high ) : Double
value Double
low Double
high Double
return Double

Clamp() public static method

public static Clamp ( Int32 value, Int32 low, Int32 high ) : Int32
value System.Int32
low System.Int32
high System.Int32
return System.Int32

Gain() public static method

public static Gain ( Double g, Double t ) : Double
g Double
t Double
return Double

Lerp() public static method

public static Lerp ( Double t, Double a, Double b ) : Double
t Double
a Double
b Double
return Double

QuinticBlend() public static method

public static QuinticBlend ( Double t ) : Double
t Double
return Double