Quaternion.Add Method

Language:

Adds two quaternions.

Definition

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

Parameters

m1 Microsoft.DirectX.Quaternion
Source Quaternion.
m2 Microsoft.DirectX.Quaternion
Source Quaternion.

Return Value

Microsoft.DirectX.Quaternion
Sum of the two source Quaternion structures.


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