Trait nannou_timeline::track::automation::Spatial[]

pub trait Spatial {
    type Scalar;
    fn add(&self, other: &Self) -> Self;
fn sub(&self, other: &Self) -> Self;
fn scale(&self, scalar: &Self::Scalar) -> Self; }
Expand description

Used for interpolation over spatial structures.

Associated Types

The scalar type.

Required methods

Add

Subtract

Scales with a scalar.

Implementations on Foreign Types

Implementors