UnsafeNativeMethods.Quaternion.Dot Method

Language:

Returns the dot product of two quaternions.

Note: For programming in Microsoft Visual Basic .NET or Microsoft JScript .NET, use the equivalent method in the Microsoft.DirectX structures.

Definition

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

Parameters

pQuat1 Microsoft.DirectX.Quaternion
Source Quaternion structure.
pQuat2 Microsoft.DirectX.Quaternion
Source Quaternion structure.

Return Value

System.Single
Dot product of two quaternions.

See Also


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