BEPUutilities.Quaternion.GetLocalRotation C# (CSharp) Метод

GetLocalRotation() публичный статический Метод

Transforms the rotation into the local space of the target basis such that rotation = Quaternion.Concatenate(localRotation, targetBasis)
public static GetLocalRotation ( &rotation, &targetBasis, &localRotation ) : void
rotation Rotation in the original frame of reference.
targetBasis Basis in the original frame of reference to transform the rotation into.
localRotation Rotation in the local space of the target basis.
Результат void
        public static void GetLocalRotation(ref Quaternion rotation, ref Quaternion targetBasis, out Quaternion localRotation)
        {
            Quaternion basisInverse;
            Conjugate(ref targetBasis, out basisInverse);
            Concatenate(ref rotation, ref basisInverse, out localRotation);
        }
    }