Platform SDK: DirectX

D3DXVec3Dot

The D3DXVec3Dot function determines the dot-product of two 3-D vectors.

float D3DXVec3Dot(
  const D3DXVECTOR3* pV1,
  const D3DXVECTOR3* pV2
); 

Parameters

pV1
A pointer to a source D3DXVECTOR3 structure.
pV2
A pointer to a source D3DXVECTOR3 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

D3DXVec3Cross