D3DXVec2Dot function
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Determines the dot product of two 2D vectors.
Syntax
FLOAT D3DXVec2Dot(
_In_ const D3DXVECTOR2 *pV1,
_In_ const D3DXVECTOR2 *pV2
);
Parameters
-
pV1 [in]
-
Type: const D3DXVECTOR2*
Pointer to a source D3DXVECTOR2 structure.
-
pV2 [in]
-
Type: const D3DXVECTOR2*
Pointer to a source D3DXVECTOR2 structure.
Return value
Type: FLOAT
The dot product.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also