Function static_math::transformations::get_parts[][src]

pub fn get_parts<T: Float + FloatConst>(r: &M44<T>) -> (Quaternion<T>, V3<T>)
Expand description

Get the parts of a homogeneous transformation, the rotation(expresed by a Quaternion) and the translation (expresed by a vector)

Function arguments: r: Homogeneus transformation reference (&M44)