Microsoft DirectX 8.1 (C++)

D3DXVec2Dot

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

FLOAT D3DXVec2Dot(
  CONST D3DXVECTOR2* pV1,
  CONST D3DXVECTOR2* pV2
); 

Parameters

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

Return Values

The dot-product.

Requirements

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

See Also

D3DXVec2CCW