Trait cgmath::ToComponents [] [src]

pub trait ToComponents<S: BaseFloat, V: Vector<S>, P: Point<S, V>, R: Rotation<S, V, P>> {
    fn decompose(&self) -> (V, R, V);
}

A trait that allows extracting components (rotation, translation, scale) from an arbitrary transformations

Required Methods

fn decompose(&self) -> (V, R, V)

Extract the (scale, rotation, translation) triple

Implementors