Gems/EMotionFX/Code/MCore/Source/DualQuaternion.cpp
DualQuaternion DualQuaternion::ConvertFromTransform(const AZ::Transform& transform)
    {
        const AZ::Vector3 pos = transform.GetTranslation();
        const AZ::Quaternion rot = transform.GetRotation();
        return DualQuaternion(rot, pos);
    }
// construct the dual quaternion from a given non-scaled matrix
construct the dual quaternion from a given non-scaled matrix
construct the dual quaternion from a given non - scaled matrix
DualQuaternion DualQuaternion::ConvertFromTransform(const AZ::Transform& transform)
    {
        const AZ::Vector3 pos = transform.GetTranslation();
        const AZ::Quaternion rot = transform.GetRotation();
        return DualQuaternion(rot, pos);
    }
DualQuaternion DualQuaternion :: ConvertFromTransform ( const AZ :: Transform & transform ) { const AZ :: Vector3 pos = transform . GetTranslation ( ) ; const AZ :: Quaternion rot = transform . GetRotation ( ) ; return DualQuaternion ( rot , pos ) ; }
construct the dual quaternion from a given non-scaled matrix
construct the dual quaternion from a given non - scaled matrix