Skip to content

Latest commit

 

History

History
90 lines (56 loc) · 1.6 KB

d3dxquaterniondot.md

File metadata and controls

90 lines (56 loc) · 1.6 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Returns the dot product of two quaternions.
2ed9aca9-0526-4b92-bd66-b09dcf4f474a
D3DXQuaternionDot function (D3dx9math.h)
reference
05/31/2018
APIRef
kbSyntax
D3DXQuaternionDot
LibDef
d3dx9.lib
d3dx9.dll

D3DXQuaternionDot function

Note

The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.

Returns the dot product of two quaternions.

Syntax

FLOAT D3DXQuaternionDot(
  _In_ const D3DXQUATERNION *pQ1,
  _In_ const D3DXQUATERNION *pQ2
);

Parameters

pQ1 [in]

Type: const D3DXQUATERNION*

Pointer to a source D3DXQUATERNION structure.

pQ2 [in]

Type: const D3DXQUATERNION*

Pointer to a source D3DXQUATERNION structure.

Return value

Type: FLOAT

The dot product of two quaternions.

Remarks

Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.

Requirements

Requirement Value
Header
D3dx9math.h
Library
D3dx9.lib

See also

Math Functions