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
Implementors
impl<S: BaseFloat, V: Vector<S> + Clone, P: Point<S, V>, R: Rotation<S, V, P> + Clone> ToComponents<S, V, P, R> for Decomposed<S, V, R>