Quaternion.Subtract Method

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center