DirectX SDK

D3DXVec4Dot

The D3DXVec4Dot function determines the dot-product of two 4-D vectors.

float D3DXVec4Dot(
  const D3DXVECTOR4* pV1,
  const D3DXVECTOR4* pV2
); 

Parameters

pV1
A pointer to a source D3DXVECTOR4 structure.
pV2
A pointer to a source D3DXVECTOR4 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.
  Windows CE: Unsupported.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxmath.h.
  Library: Use d3dx.lib.

See Also

D3DXVec4Cross