Platform SDK: DirectX

D3DXVec2Dot

The D3DXVec2Dot function determines the dot-product of two 2-D vectors.

float D3DXVec2Dot(
  const D3DXVECTOR2* pV1,
  const D3DXVECTOR2* pV2
); 

Parameters

pV1
A pointer to a source D3DXVECTOR2 structure.
pV2
A pointer to a source D3DXVECTOR2 structure.

Return Values

The dot-product.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxmath.h.
  Library: Use d3dx.lib.

See Also

D3DXVec2CCW