Microsoft DirectX 9.0 SDK Update (October 2004)

Quaternion.Dot Method

Language:

Note: This documentation is preliminary and is subject to change.

Returns the dot product of two quaternions.

Definition

Visual Basic .NET Public Shared Function Dot( _
    ByVal v1 As Quaternion, _
    ByVal v2 As Quaternion _
) As Single
C# public static float Dot(
    Quaternion v1,
    Quaternion v2
);
Managed C++ public: static float Dot(
    Quaternion v1,
    Quaternion v2
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center