Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Returns the dot product of two quaternions.
Syntax
FLOAT D3DXQuaternionDot(
_In_ const D3DXQUATERNION *pQ1,
_In_ const D3DXQUATERNION *pQ2
);
Parameters
-
pQ1 [in]
-
Type: const D3DXQUATERNION*
Pointer to a source D3DXQUATERNION structure.
-
pQ2 [in]
-
Type: const D3DXQUATERNION*
Pointer to a source D3DXQUATERNION structure.
Return value
Type: FLOAT
The dot product of two quaternions.
Remarks
Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.
Requirements
| Requirement | Value |
|---|---|
| Header |
|
| Library |
|
See also