Trait minterpolate::InterpolationPrimitive [] [src]

pub trait InterpolationPrimitive: Sized {
    fn add(&self, other: &Self) -> Self;
fn sub(&self, other: &Self) -> Self;
fn mul(&self, scalar: f32) -> Self;
fn dot(&self, other: &Self) -> f32;
fn magnitude2(&self) -> f32; fn magnitude(&self) -> f32 { ... }
fn normalize(&self) -> Self { ... } }

Interpolation primitive, defines basic arithmetic needed for interpolation.

Required Methods

Provided Methods

Implementations on Foreign Types

impl InterpolationPrimitive for Vector3<f32>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl InterpolationPrimitive for Quaternion<f32>
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl InterpolationPrimitive for [f32; 4]
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl InterpolationPrimitive for [f32; 3]
[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Implementors