Trait sycamore::motion::Lerp[][src]

pub trait Lerp {
    fn lerp(&self, other: &Self, scalar: f32) -> Self;
}
Expand description

Describes a trait that can be linearly interpolate between two points.

Required methods

Get a value between self and other at a scalar.

0.0 <= scalar <= 1

Implementations on Foreign Types

Implementors