Quaternion.Dot Method

Language:

Returns the dot product of two quaternions.

Definition

Visual Basic Public Shared Function Dot( _
    ByVal v1 As Quaternion, _
    ByVal v2 As Quaternion _
) As Single
C# public static float Dot(
    Quaternion v1,
    Quaternion v2
);
C++ public:
static float Dot(
    Quaternion v1,
    Quaternion v2
);
JScript public static function Dot(
    v1 : Quaternion,
    v2 : Quaternion
) : float;

Parameters

v1 Microsoft.DirectX.Quaternion
Source Quaternion structure.
v2 Microsoft.DirectX.Quaternion
Source Quaternion structure.

Return Value

System.Single
Dot product of two quaternions.


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