API / core/tween/easing_function/quintic
core/tween/easing_function/quintic
5차 곡선.
Quintic curve.
예제Example가운데와 사분 자리 값Values at the middle and the quarter points
use vanilla::easing_function::quintic;
assert_eq!(quintic::ease_in(0.5), 0.03125);
assert_eq!(quintic::ease_out(0.5), 0.96875);
assert_eq!(quintic::ease_in_out(0.75), 0.984375);함수Functions
천천히 시작한다.
Starts slowly.
- progressf64
- 진행률. (0 ~ 1)Progress. (0 ~ 1)
반환Returnsf64 보간 비율. (0 ~ 1, 0 에서 0, 1 에서 1)Interpolation ratio. (0 ~ 1, 0 at 0, 1 at 1)
천천히 끝난다.
Ends slowly.
- progressf64
- 진행률. (0 ~ 1)Progress. (0 ~ 1)
반환Returnsf64 보간 비율. (0 ~ 1, 0 에서 0, 1 에서 1)Interpolation ratio. (0 ~ 1, 0 at 0, 1 at 1)
천천히 시작하고 천천히 끝난다.
Starts slowly and ends slowly.
- progressf64
- 진행률. (0 ~ 1)Progress. (0 ~ 1)
반환Returnsf64 보간 비율. (0 ~ 1, 0 에서 0, 1 에서 1)Interpolation ratio. (0 ~ 1, 0 at 0, 1 at 1)