Share via


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

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.