D3DXVec4Dot function

Note

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

Determines the dot product of two 4D vectors.

Syntax

FLOAT D3DXVec4Dot(
  _In_ const D3DXVECTOR4 *pV1,
  _In_ const D3DXVECTOR4 *pV2
);

Parameters

pV1 [in]

Type: const D3DXVECTOR4*

Pointer to a source D3DXVECTOR4 structure.

pV2 [in]

Type: const D3DXVECTOR4*

Pointer to a source D3DXVECTOR4 structure.

Return value

Type: FLOAT

The dot product.

Requirements

Requirement Value
Header
D3dx9math.h
Library
D3dx9.lib

See also

Math Functions

D3DXVec4Cross