Type Definition vek::transition::LinearTransition [] [src]

type LinearTransition<T, Progress = f32> = Transition<T, IdentityProgressMapper, Progress>;

A convenience structure for storing a linear progression from one value to another.

Methods

impl<T, Progress> LinearTransition<T, Progress>
[src]

[src]

Creates a new LinearTransition from start and end values, setting progress to zero.

[src]

Creates a new LinearTransition from start, end and progress values.