C# Class Afterglow.Math.SquareInterpolator

Square interpolator
Inheritance: IInterpolator
Afficher le fichier Open project: Christof/afterglow

Méthodes publiques

Méthode 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 méthode

Interpolates a value for the specified percentage.
public Interpolate ( float percentage ) : float
percentage float The percentage.
Résultat float

SquareInterpolator() public méthode

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