Type Definition vek::transition::LinearTransition [−][src]
pub type LinearTransition<T, Progress = f32> = Transition<T, IdentityProgressMapper, Progress>;
Expand description
A convenience structure for storing a linear progression from one value to another.
Implementations
Creates a new LinearTransition
from start
and end
values, setting progress
to zero.
Creates a new LinearTransition
from start
, end
and progress
values.