Enum anima_engine::math::Behavior
[−]
[src]
pub enum Behavior { Linear, Acc, Dec, AccDec, }
An enum
containing useful interpolation techniques.
Variants
Linear | linear, i(t) = t | |
Acc | accelerate, i(t) = t² | |
Dec | decelerate, i(t) = 1 - (1 - t)² | |
AccDec | accelerate-decelerate, i(t) = cos((t + 1) π) / 2 + 0.5 |