Quaternion.op_Addition Method

Language:

Adds two quaternions.

Definition

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

Parameters

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

Return Value

Microsoft.DirectX.Quaternion
Resulting Quaternion structure.


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