BEPUutilities.Quaternion.GetRelativeRotation C# (CSharp) Méthode

GetRelativeRotation() public static méthode

Computes the rotation from the start orientation to the end orientation such that end = Quaternion.Concatenate(start, relative).
public static GetRelativeRotation ( &start, &end, &relative ) : void
start Starting orientation.
end Ending orientation.
relative Relative rotation from the start to the end orientation.
Résultat void
        public static void GetRelativeRotation(ref Quaternion start, ref Quaternion end, out Quaternion relative)
        {
            Quaternion startInverse;
            Conjugate(ref start, out startInverse);
            Concatenate(ref startInverse, ref end, out relative);
        }