C# Class Afterglow.Math.SquareInterpolator

Square interpolator
Inheritance: IInterpolator
Mostrar archivo Open project: Christof/afterglow

Public Methods

Method Description
Interpolate ( float percentage ) : float

Interpolates a value for the specified percentage.

SquareInterpolator ( float startValue, float endValue )

Initializes a new instance of the SquareInterpolator class.

Method Details

Interpolate() public method

Interpolates a value for the specified percentage.
public Interpolate ( float percentage ) : float
percentage float The percentage.
return float

SquareInterpolator() public method

Initializes a new instance of the SquareInterpolator class.
public SquareInterpolator ( float startValue, float endValue )
startValue float The start value.
endValue float The end value.