Share via


Quaternion.op_Subtraction(Quaternion,Quaternion) Method (Microsoft.DirectX)

Subtracts two quaternions.

Definition

Visual Basic Public Shared Function op_Subtraction( _
    ByVal left As Quaternion, _
    ByVal right As Quaternion _
) As Quaternion
C# public static Quaternion op_Subtraction(
    Quaternion left,
    Quaternion right
);
C++ public:
static Quaternion operator-(
    Quaternion left,
    Quaternion right
);
JScript public static function op_Subtraction(
    left : Quaternion,
    right : Quaternion
) : Quaternion;

Parameters

left Microsoft.DirectX.Quaternion
The Quaternion structure to the left of the subtraction operator.
right Microsoft.DirectX.Quaternion
The Quaternion structure to the right of the subtraction operator.

Return Value

Microsoft.DirectX.Quaternion
Resulting Quaternion structure.