Back easing in - backtracking slightly, then reversing direction and moving to target.
| 391 | * Back easing in - backtracking slightly, then reversing direction and moving to target. |
| 392 | */ |
| 393 | class BackIn extends Back { |
| 394 | public BackIn() { |
| 395 | super(); |
| 396 | } |
| 397 | |
| 398 | public BackIn(float overshoot) { |
| 399 | super(overshoot); |
| 400 | } |
| 401 | |
| 402 | public float ease(float t, float b, float c, float d) { |
| 403 | float s = getOvershoot(); |
| 404 | return c * (t /= d) * t * ((s + 1) * t - s) + b; |
| 405 | } |
| 406 | } |
| 407 | |
| 408 | /** |
| 409 | * Back easing out - moving towards target, overshooting it slightly, then reversing and coming back to target. |
nothing calls this directly
no outgoing calls
no test coverage detected