RemoteTech.FlightComputer.attitudeWorldToReference C# (CSharp) Méthode

attitudeWorldToReference() public méthode

public attitudeWorldToReference ( UnityEngine.Vector3d vector, AttitudeReference reference ) : UnityEngine.Vector3d
vector UnityEngine.Vector3d
reference AttitudeReference
Résultat UnityEngine.Vector3d
        public Vector3d attitudeWorldToReference(Vector3d vector, AttitudeReference reference)
        {
            return Quaternion.Inverse(attitudeGetReferenceRotation(reference)) * vector;
        }