C# Class InterpolationLibrary, NutJob

Inheritance: MonoBehaviour
Datei anzeigen Open project: SideTrackedStudios/NutJob Class Usage Examples

Public Methods

Method Description
AccelDecelInterpolation ( Vector2 start, Vector2 end, float t ) : Vector2
AccelerationInterpolation ( Vector2 start, Vector2 end, float t, float factor ) : Vector2

Private Methods

Method Description
FloatEquals ( float f1, float f2 ) : bool

Method Details

AccelDecelInterpolation() public static method

public static AccelDecelInterpolation ( Vector2 start, Vector2 end, float t ) : Vector2
start Vector2
end Vector2
t float
return Vector2

AccelerationInterpolation() public static method

public static AccelerationInterpolation ( Vector2 start, Vector2 end, float t, float factor ) : Vector2
start Vector2
end Vector2
t float
factor float
return Vector2