Trait cgmath::ToComponents
source · pub trait ToComponents<P: Point, R: Rotation<P>>where
<P as Point>::Scalar: BaseFloat,{
// Required method
fn decompose(&self) -> (P::Vector, R, P::Vector);
}
Expand description
A trait that allows extracting components (rotation, translation, scale) from an arbitrary transformations