D3DXVec3Dot function

Note

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

Determines the dot product of two 3D vectors.

Syntax

FLOAT D3DXVec3Dot(
  _In_ const D3DXVECTOR3 *pV1,
  _In_ const D3DXVECTOR3 *pV2
);

Parameters

pV1 [in]

Type: const D3DXVECTOR3*

Pointer to a source D3DXVECTOR3 structure.

pV2 [in]

Type: const D3DXVECTOR3*

Pointer to a source D3DXVECTOR3 structure.

Return value

Type: FLOAT

The dot-product.

Requirements

Requirement Value
Header
D3dx9math.h
Library
D3dx9.lib

See also

Math Functions

D3DXVec3Cross