Struct ff_particles::Curve
source · [−]pub struct Curve {
pub points: Vec<(f32, f32)>,
pub interpolation: Interpolation,
pub resolution: usize,
}
Fields
points: Vec<(f32, f32)>
Key points for building a curve
interpolation: Interpolation
The way middle points is interpolated during building a curve Only Linear is implemented now
resolution: usize
Interpolation steps used to build the curve from the key points
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Curve
impl UnwindSafe for Curve
Blanket Implementations
Mutably borrows from an owned value. Read more