Type Alias Matrix

Source
pub type Matrix = Matrix<Number>;
Expand description

computed value of matrix()

Aliased Type§

#[repr(C)]
pub struct Matrix { pub a: f32, pub b: f32, pub c: f32, pub d: f32, pub e: f32, pub f: f32, }

Fields§

§a: f32§b: f32§c: f32§d: f32§e: f32§f: f32

Implementations§

Source§

impl Matrix

Source

pub fn identity() -> Self

Get an identity matrix

Trait Implementations§

Source§

impl Animate for Matrix

Source§

fn animate(&self, other: &Self, procedure: Procedure) -> Result<Self, ()>

Animate a value towards another one, given an animation procedure.