Share via


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

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.