Microsoft DirectX 8.1 (C++)

D3DXVec3Dot

Determines the dot-product of two 3-D vectors.

FLOAT D3DXVec3Dot(
  CONST D3DXVECTOR3* pV1,
  CONST D3DXVECTOR3* pV2
); 

Parameters

pV1
[in] Pointer to a source D3DXVECTOR3 structure.
pV2
[in] Pointer to a source D3DXVECTOR3 structure.

Return Values

The dot-product.

Requirements

  Header: Declared in D3dx8math.h.
  Import Library: Use D3dx8.lib.

See Also

D3DXVec3Cross