# core/tween/easing_function/back (vanilla-engine 0.4.0)

> https://vanillapunch.com/docs/vanilla-engine/0.4.0/api/core/tween/easing_function/back/

뒤로 살짝 물러났다가 간다.

예제: 0 아래와 1 위로 넘치는 값

```rust
use vanilla::easing_function::back;

assert!(back::ease_in(0.5) < 0.0);
assert!(back::ease_out(0.5) > 1.0);
assert!((back::ease_in(1.0) - 1.0).abs() < 1e-6);
assert!(back::ease_out(0.0).abs() < 1e-6);
```

## Functions and constants

- `pub fn ease_in(progress: f64) -> f64` (method, since 0.4.0): 뒤로 물러났다가 출발한다.
  - `progress` f64: 진행률. (0 ~ 1)
  - returns f64: 보간 비율. (0 에서 0, 1 에서 1, 시작 쪽에서 0 아래로 내려간다)
- `pub fn ease_out(progress: f64) -> f64` (method, since 0.4.0): 끝을 살짝 넘었다가 돌아온다.
  - `progress` f64: 진행률. (0 ~ 1)
  - returns f64: 보간 비율. (0 에서 0, 1 에서 1, 끝 쪽에서 1 을 넘는다)
- `pub fn ease_in_out(progress: f64) -> f64` (method, since 0.4.0): 시작에서 물러나고 끝에서 넘친다.
  - `progress` f64: 진행률. (0 ~ 1)
  - returns f64: 보간 비율. (0 에서 0, 1 에서 1, 시작 쪽에서 0 아래로, 끝 쪽에서 1 위로 넘친다)
