- Namespace
- StrideToolkit
.Mathematics - Containing Type
- Easing
Syntax
public static double BackEaseInOut(double amount)
Remarks
Modeled after the piecewise overshooting cubic function:
y = (1/2)*((2x)^3-(2x)*sin(2*x*pi)) ; [0, 0.5)
y = (1/2)*(1-((1-x)^3-(1-x)*sin((1-x)*pi))+1) ; [0.5, 1]
Parameters
Name | Type | Description |
---|---|---|
amount | double |
Return Value
Type | Description |
---|---|
double |