Function static_math::transformations::homogeneous_from_quaternion[][src]

pub fn homogeneous_from_quaternion<T: Float>(
    q: &Quaternion<T>,
    p: &V3<T>
) -> M44<T>
Expand description

Generate a homogeneous matrix from a rotation represented by a quaternion and a translation represented by a vector

Function arguments:

q: a reference to a Quaternion<Float> (Rotation part)

p: a reference to a V3<Float> (Translation part)