C# Class ManicDigger.AngleInterpolation

Mostra file Open project: GlennMR/800Craft-Client

Public Methods

Method Description
InterpolateAngle256 ( int a, int b, float progress ) : int
InterpolateAngle360 ( double a, double b, double progress ) : double

Private Methods

Method Description
NormalizeAngle256 ( int v ) : int
NormalizeAngle360 ( double v ) : double

Method Details

InterpolateAngle256() public static method

public static InterpolateAngle256 ( int a, int b, float progress ) : int
a int
b int
progress float
return int

InterpolateAngle360() public static method

public static InterpolateAngle360 ( double a, double b, double progress ) : double
a double
b double
progress double
return double