Skip to main content

get_parts

Function get_parts 

Source
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<Float>)