Share via


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

Subtracts two quaternion instances.

Definition

Visual Basic Public Shared Function Subtract( _
    ByVal m1 As Quaternion, _
    ByVal m2 As Quaternion _
) As Quaternion
C# public static Quaternion Subtract(
    Quaternion m1,
    Quaternion m2
);
C++ public:
static Quaternion Subtract(
    Quaternion m1,
    Quaternion m2
);
JScript public static function Subtract(
    m1 : Quaternion,
    m2 : Quaternion
) : Quaternion;

Parameters

m1 Microsoft.DirectX.Quaternion
Source Quaternion structure to the left of the subtraction operator.
m2 Microsoft.DirectX.Quaternion
Source Quaternion structure to the right of the subtraction operator.

Return Value

Microsoft.DirectX.Quaternion
A Quaternion structure that is the result of the operation.