D3DXVec2Dot

Determines the dot product of two 2D 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 D3dx9math.h.

See Also

D3DXVec2CCW