D3DXVec3Dot

This function 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

OS Versions: Windows CE .NET 4.0 and later.
Header: D3dx8math.h.
Link Library: D3dx8.lib.

See Also

D3DXVec3Cross | D3DXVECTOR3

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.