Microsoft DirectX 9.0 SDK Update (October 2004)

Quaternion.Subtract Method

Language:

Note: This documentation is preliminary and is subject to change.

Subtracts two quaternion instances.

Definition

Visual Basic .NET Public Shared Function Subtract( _
    ByVal m1 As Quaternion, _
    ByVal m2 As Quaternion _
) As Quaternion
C# public static Quaternion Subtract(
    Quaternion m1,
    Quaternion m2
);
Managed C++ public: static Quaternion Subtract(
    Quaternion m1,
    Quaternion m2
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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