description | ms.assetid | title | ms.topic | ms.date | topic_type | api_name | api_type | api_location | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
D3DXQuaternionToAxisAngle function (D3dx9math.h) - Computes a quaternion's axis and angle of rotation. |
6efd0a68-7641-403e-8ae2-c715b705b36e |
D3DXQuaternionToAxisAngle function (D3dx9math.h) |
reference |
05/31/2018 |
|
|
|
|
Note
The D3DX utility library is deprecated. We recommend that you use DirectXMath instead.
Computes a quaternion's axis and angle of rotation.
void D3DXQuaternionToAxisAngle(
_In_ const D3DXQUATERNION *pQ,
_Inout_ D3DXVECTOR3 *pAxis,
_Inout_ FLOAT *pAngle
);
-
pQ [in]
-
Type: const D3DXQUATERNION*
Pointer to the source D3DXQUATERNION structure.
-
pAxis [in, out]
-
Type: D3DXVECTOR3*
This function returns a pointer to a D3DXVECTOR3 structure that identifies the quaternion's axis of rotation.
-
pAngle [in, out]
-
Type: FLOAT*
This function returns a pointer to a FLOAT value that identifies the quaternion's angle of rotation in radians.
No return value.
Use D3DXQuaternionNormalize for any quaternion input that is not already normalized.
Requirement | Value |
---|---|
Header |
|
Library |
|